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.AtmosException
public AtmosResult del(String remotePath) throws AtmosException
remotePath
- the remote location to deleteAtmosException
public AtmosResult move(String remotePath, String newRemotePath) throws AtmosException
remotePath
- the existing remote path to be renamednewRemotePath
- the new remote path substituting the old oneAtmosException
public AtmosResult get(String remotePath) throws AtmosException
remotePath
- the remote path where to download fromAtmosException
Apache Camel