public final class AtmosAPIFacade extends Object
| Modifier and Type | Method and Description |
|---|---|
AtmosResult |
del(String remotePath)
Delete every files and subdirectories inside the remote directory.
|
AtmosResult |
get(String remotePath)
Get the content of every file inside the remote path.
|
static AtmosAPIFacade |
getInstance(com.emc.atmos.api.AtmosApi client)
Return a singleton instance of this class
|
AtmosResult |
move(String remotePath,
String newRemotePath)
Rename a remote path with the new path location.
|
AtmosResult |
put(String localPath,
String remotePath)
Put or upload a new file or an entire directory to atmos
|
public static AtmosAPIFacade getInstance(com.emc.atmos.api.AtmosApi client)
client - the AtmosClient performing atmos low level operationspublic AtmosResult put(String localPath, String remotePath) throws AtmosException
localPath - the file path or the dir path on the local filesystemremotePath - the remote path destination on atmos the file already existing with the same name will be
overridden.AtmosExceptionpublic AtmosResult del(String remotePath)
remotePath - the remote location to deleteAtmosExceptionpublic AtmosResult move(String remotePath, String newRemotePath)
remotePath - the existing remote path to be renamednewRemotePath - the new remote path substituting the old oneAtmosExceptionpublic AtmosResult get(String remotePath) throws AtmosException
remotePath - the remote path where to download fromAtmosExceptionApache Camel