public class RawFileStoreServiceImpl extends java.lang.Object implements RawFileStoreService
コンストラクタと説明 |
---|
RawFileStoreServiceImpl(omero.api.RawFileStorePrx rawFileStorePrx)
Create the ImageService passing the gateway.
|
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
public RawFileStoreServiceImpl(omero.api.RawFileStorePrx rawFileStorePrx)
gatewayFactory
- To generate new instances of the
RenderingEngineGateway.public boolean exists(long fileId) throws omero.ServerError
RawFileStoreService
exists
インタフェース内 RawFileStoreService
fileId
- id of the file to work on,omero.ServerError
public byte[] read(long fileId, long position, int length) throws omero.ServerError
RawFileStoreService
read
インタフェース内 RawFileStoreService
fileId
- id of the file to work on,position
- starting position to read from.omero.ServerError
public void write(long fileId, byte[] buf, long position, int length) throws omero.ServerError
RawFileStoreService
write
インタフェース内 RawFileStoreService
fileId
- id of the file to work on,buf
- see above.position
- see above.length
- see above.omero.ServerError