edu.jhu.tmaj.beans.exfile.data
Class ExternalFileClient
java.lang.Object
edu.jhu.tmaj.beans.exfile.data.ExternalFileClient
public final class ExternalFileClient
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ExternalFileClient getInstance()
createFolder
public ExternalFolder createFolder(java.lang.String folderName,
ExternalFolder parentExternalFolder)
throws java.io.IOException
- Throws:
java.io.IOException
deleteFolderAndSubFolders
public void deleteFolderAndSubFolders(ExternalFolder externalFolder)
getParentExternalFolders
public java.util.List<ExternalFolder> getParentExternalFolders()
getSubFolders
public java.util.List<ExternalFolder> getSubFolders(ExternalFolder folder)
getExternalFiles
public java.util.List<ExternalFile> getExternalFiles(ExternalFolder folder)
uploadFile
public ExternalFile uploadFile(ExternalFolder externalFolder,
java.io.File localFile)
throws java.io.IOException
- Throws:
java.io.IOException
downloadFile
public void downloadFile(ExternalFile externalFile)
throws java.io.IOException
- Throws:
java.io.IOException