Class MasterProvider.UserDataSpace
java.lang.Object
ecmwf.common.ecaccess.UserSession
ecmwf.ecpds.master.MasterProvider.UserDataSpace
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(ProxySocket proxy) Check.void
close
(boolean remove) Close.void
deleteFile
(String source, boolean force) Delete file.Gets the default group.long
getFileLastModified
(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.long
getFileSize
(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.void
Mkdir.void
Move file.void
Rmdir.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:
close
in classUserSession
- Parameters:
remove
- the remove
-
getId
-
getDefaultGroup
Gets the default group.- Overrides:
getDefaultGroup
in classUserSession
- Returns:
- the default group
-
getFileList
public FileListElement[] getFileList(String path, String options) throws EccmdException, IOException Gets the file list.- Specified by:
getFileList
in 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:
getFileList
in 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:
getFileListElement
in 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:
getFileLastModified
in 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:
getFileSize
in 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:
getProxySocketInput
in 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:
getProxySocketInput
in 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:
getProxySocketOutput
in 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:
deleteFile
in classUserSession
- Parameters:
source
- the sourceforce
- the force- Throws:
EccmdException
- the eccmd exceptionIOException
- Signals that an I/O exception has occurred.
-
mkdir
Mkdir.- Overrides:
mkdir
in classUserSession
- Parameters:
dir
- the dir- Throws:
EccmdException
- the eccmd exceptionIOException
- Signals that an I/O exception has occurred.
-
rmdir
Rmdir.- Overrides:
rmdir
in classUserSession
- Parameters:
dir
- the dir- Throws:
EccmdException
- the eccmd exceptionIOException
- Signals that an I/O exception has occurred.
-
moveFile
Move file.- Overrides:
moveFile
in classUserSession
- Parameters:
source
- the sourcetarget
- the target- Throws:
EccmdException
- the eccmd exceptionIOException
- Signals that an I/O exception has occurred.
-
check
Check.- Specified by:
check
in classUserSession
- Parameters:
proxy
- the proxy- Throws:
IOException
- Signals that an I/O exception has occurred.EccmdException
- the eccmd exception
-