public class _FileServerTie extends _FileServerDisp implements Ice.TieBase
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
__ids
ice_staticId
Constructor and Description |
---|
_FileServerTie(_FileServerOperations delegate) |
_FileServerTie() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object rhs) |
boolean |
fileExists(java.lang.String fileId,
Ice.Current __current)
Query the existence of a file
An exception will be raised if the method fails to determine the existence.
|
float |
getATime(java.lang.String fileId,
Ice.Current __current)
Get atime of a file
An exception will be raised if the file no longer exists or is inaccessible.
|
java.lang.String |
getBaseName(java.lang.String fileId,
Ice.Current __current)
Get base name of a file, this is the name
stripped of any path, e.g.
|
FileStats[] |
getBulkDirectory(java.lang.String absPath,
java.lang.String filter,
Ice.Current __current)
Get an absolute directory from an OMERO.fs server.
|
float |
getCTime(java.lang.String fileId,
Ice.Current __current)
Get ctime of a file
An exception will be raised if the file no longer exists or is inaccessible.
|
java.lang.String[] |
getDirectory(java.lang.String absPath,
java.lang.String filter,
Ice.Current __current)
Get an absolute directory from an OMERO.fs server.
|
float |
getMTime(java.lang.String fileId,
Ice.Current __current)
Get mtime of a file
An exception will be raised if the file no longer exists or is inaccessible.
|
java.lang.String |
getOwner(java.lang.String fileId,
Ice.Current __current)
Get owner of a file
An exception will be raised if the file no longer exists or is inaccessible.
|
java.lang.String |
getSHA1(java.lang.String fileId,
Ice.Current __current)
Get SHA1 of a file
An exception will be raised if the file no longer exists or is inaccessible.
|
long |
getSize(java.lang.String fileId,
Ice.Current __current)
Get size of a file in bytes
An exception will be raised if the file no longer exists or is inaccessible.
|
FileStats |
getStats(java.lang.String fileId,
Ice.Current __current)
Get all FileStats of a file
An exception will be raised if the file no longer exists or is inaccessible.
|
int |
hashCode() |
java.lang.Object |
ice_delegate() |
void |
ice_delegate(java.lang.Object delegate) |
boolean |
isDir(java.lang.String fileId,
Ice.Current __current)
Query whether file is a directory
An exception will be raised if the file no longer exists or is inaccessible.
|
boolean |
isFile(java.lang.String fileId,
Ice.Current __current)
Query whether file is a file
An exception will be raised if the file no longer exists or is inaccessible.
|
byte[] |
readBlock(java.lang.String fileId,
long offset,
int size,
Ice.Current __current)
readBlock should open, read size bytes from offset
and then close the file.
|
___fileExists, ___getATime, ___getBaseName, ___getBulkDirectory, ___getCTime, ___getDirectory, ___getMTime, ___getOwner, ___getSHA1, ___getSize, ___getStats, ___isDir, ___isFile, ___readBlock, __dispatch, __readImpl, __writeImpl, fileExists, getATime, getBaseName, getBulkDirectory, getCTime, getDirectory, getMTime, getOwner, getSHA1, getSize, getStats, ice_copyStateFrom, ice_id, ice_id, ice_ids, ice_ids, ice_isA, ice_isA, ice_staticId, isDir, isFile, readBlock
___ice_id, ___ice_ids, ___ice_isA, ___ice_ping, __checkMode, __read, __read, __readImpl, __write, __write, __writeImpl, clone, ice_dispatch, ice_dispatch, ice_operationAttributes, ice_ping, ice_ping, ice_postUnmarshal, ice_preMarshal
public static final long serialVersionUID
public _FileServerTie()
public _FileServerTie(_FileServerOperations delegate)
public java.lang.Object ice_delegate()
ice_delegate
in interface Ice.TieBase
public void ice_delegate(java.lang.Object delegate)
ice_delegate
in interface Ice.TieBase
public boolean equals(java.lang.Object rhs)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean fileExists(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
fileExists
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public float getATime(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getATime
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public java.lang.String getBaseName(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getBaseName
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public FileStats[] getBulkDirectory(java.lang.String absPath, java.lang.String filter, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getBulkDirectory
in interface _FileServerOperations
absPath
- an absolute path on the monitor's watch path (string).filter
- a filter to apply to the listing, cf. ls (string).__current
- The Current object for the invocation.OmeroFSError
public float getCTime(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getCTime
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public java.lang.String[] getDirectory(java.lang.String absPath, java.lang.String filter, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getDirectory
in interface _FileServerOperations
absPath
- an absolute path on the monitor's watch path (string).filter
- a filter to apply to the listing, cf. ls (string).__current
- The Current object for the invocation.OmeroFSError
public float getMTime(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getMTime
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public java.lang.String getOwner(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getOwner
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public java.lang.String getSHA1(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getSHA1
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public long getSize(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getSize
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public FileStats getStats(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
getStats
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public boolean isDir(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
isDir
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public boolean isFile(java.lang.String fileId, Ice.Current __current) throws OmeroFSError
_FileServerOperations
isFile
in interface _FileServerOperations
fileId
- see above.__current
- The Current object for the invocation.OmeroFSError
public byte[] readBlock(java.lang.String fileId, long offset, int size, Ice.Current __current) throws OmeroFSError
_FileServerOperations
readBlock
in interface _FileServerOperations
fileId
- see above.offset
- byte offset into file from where read should begin (long).size
- number of bytes that should be read (int).__current
- The Current object for the invocation.OmeroFSError