Class MasterProvider.UserDataSpace
java.lang.Object
ecmwf.common.ecaccess.UserSession
ecmwf.ecpds.master.MasterProvider.UserDataSpace
-
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(ProxySocket proxy) Check.voidclose(boolean remove) Close.voiddeleteFile(String source, boolean force) Delete file.Gets the default group.longgetFileLastModified(String source) Gets the file last modified.getFileList(String path) Gets the file list.getFileList(String path, String options) Gets the file list.getFileListElement(String path) Gets the file list element.longgetFileSize(String source) Gets the file size.getId()Gets the id.getProxySocketInput(String source, long offset) Gets the proxy socket input.getProxySocketInput(String source, long offset, long length) Gets the proxy socket input.getProxySocketOutput(String target, long offset, int umask) Gets the proxy socket output.voidMkdir.voidMove file.voidRmdir.Methods inherited from class ecmwf.common.ecaccess.UserSession
chmod, copyFile, getDefaultDomain, getECtransSetup, getTempFile, getToken, getUser, getWelcome
-
Method Details
-
close
public void close(boolean remove) Close.- Overrides:
closein classUserSession- Parameters:
remove- the remove
-
getId
-
getDefaultGroup
Gets the default group.- Overrides:
getDefaultGroupin classUserSession- Returns:
- the default group
-
getFileList
public FileListElement[] getFileList(String path, String options) throws EccmdException, IOException Gets the file list.- Specified by:
getFileListin classUserSession- Parameters:
path- the pathoptions- the options- Returns:
- the file list
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
getFileList
Gets the file list.- Specified by:
getFileListin classUserSession- Parameters:
path- the path- Returns:
- the file list
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
getFileListElement
Gets the file list element.- Specified by:
getFileListElementin classUserSession- Parameters:
path- the path- Returns:
- the file list element
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
getFileLastModified
Gets the file last modified.- Specified by:
getFileLastModifiedin classUserSession- Parameters:
source- the source- Returns:
- the file last modified
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
getFileSize
Gets the file size.- Specified by:
getFileSizein classUserSession- Parameters:
source- the source- Returns:
- the file size
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
getProxySocketInput
public ProxySocket getProxySocketInput(String source, long offset) throws EccmdException, IOException Gets the proxy socket input.- Specified by:
getProxySocketInputin classUserSession- Parameters:
source- the sourceoffset- the offset- Returns:
- the proxy socket input
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
getProxySocketInput
public ProxySocket getProxySocketInput(String source, long offset, long length) throws EccmdException, IOException Gets the proxy socket input.- Specified by:
getProxySocketInputin classUserSession- Parameters:
source- the sourceoffset- the offsetlength- the length- Returns:
- the proxy socket input
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
getProxySocketOutput
public ProxySocket getProxySocketOutput(String target, long offset, int umask) throws EccmdException, IOException Gets the proxy socket output.- Specified by:
getProxySocketOutputin classUserSession- Parameters:
target- the targetoffset- the offsetumask- the umask- Returns:
- the proxy socket output
- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
deleteFile
Delete file.- Overrides:
deleteFilein classUserSession- Parameters:
source- the sourceforce- the force- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
mkdir
Mkdir.- Overrides:
mkdirin classUserSession- Parameters:
dir- the dir- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
rmdir
Rmdir.- Overrides:
rmdirin classUserSession- Parameters:
dir- the dir- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
moveFile
Move file.- Overrides:
moveFilein classUserSession- Parameters:
source- the sourcetarget- the target- Throws:
EccmdException- the eccmd exceptionIOException- Signals that an I/O exception has occurred.
-
check
Check.- Specified by:
checkin classUserSession- Parameters:
proxy- the proxy- Throws:
IOException- Signals that an I/O exception has occurred.EccmdException- the eccmd exception
-