public interface RawFileStoreService
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
exists(long fileId)
Does the file exist in the RawFileStore?
|
byte[] |
read(long fileId,
long position,
int length)
Read from the file in the rawFileStore.
|
void |
write(long fileId,
byte[] buf,
long position,
int length)
Write the contents of the buffer to the the file starting from position
and for length bytes.
|
byte[] read(long fileId, long position, int length) throws omero.ServerError
fileId
- id of the file to work on,position
- starting position to read from.length
- DSOutOfServiceException
omero.ServerError
void write(long fileId, byte[] buf, long position, int length) throws omero.ServerError
fileId
- id of the file to work on,buf
- see above.position
- see above.length
- see above.DSOutOfServiceException
omero.ServerError
boolean exists(long fileId) throws omero.ServerError
fileId
- id of the file to work on,DSOutOfServiceException
omero.ServerError