|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.RandomAccessFile
org.h2.store.fs.FileObjectDisk
public class FileObjectDisk
This class extends a java.io.RandomAccessFile.
Method Summary | |
---|---|
java.lang.String |
getName()
Get the full qualified name of this file. |
void |
setFileLength(long newLength)
Change the length of the file. |
void |
sync()
Force changes to the physical location. |
Methods inherited from class java.io.RandomAccessFile |
---|
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.h2.store.fs.FileObject |
---|
close, getFilePointer, length, readFully, seek, write |
Method Detail |
---|
public void sync() throws java.io.IOException
FileObject
sync
in interface FileObject
java.io.IOException
public void setFileLength(long newLength) throws java.io.IOException
FileObject
setFileLength
in interface FileObject
newLength
- the new length
java.io.IOException
public java.lang.String getName()
FileObject
getName
in interface FileObject
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |