|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectome.io.nio.AbstractBuffer
ome.io.nio.FileBuffer
public class FileBuffer
Raw file buffer which provides I/O operations within the OMERO file repository.
Method Summary | |
---|---|
void |
close()
Closes the buffer, cleaning up file state. |
int |
read(ByteBuffer dst)
Delegates to FileChannel |
int |
read(ByteBuffer dst,
long position)
Delegates to FileChannel |
int |
write(ByteBuffer src)
Delegates to FileChannel |
int |
write(ByteBuffer src,
long position)
Delegates to FileChannel |
Methods inherited from class ome.io.nio.AbstractBuffer |
---|
getPath, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public void close() throws IOException
IOException
- if an I/O error occurs.public int read(ByteBuffer dst) throws IOException
FileChannel
IOException
FileChannel
public int read(ByteBuffer dst, long position) throws IOException
FileChannel
IOException
FileChannel
public int write(ByteBuffer src, long position) throws IOException
FileChannel
IOException
FileChannel
public int write(ByteBuffer src) throws IOException
FileChannel
IOException
FileChannel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Version: Beta-4.1.1-r5927-b91
Copyright © 2009 The University of Dundee. All Rights Reserved.