org.hsqldb.persist
Interface RandomAccessInterface
-
- All Known Implementing Classes:
- RAFileHybrid
public interface RandomAccessInterface- Since:
- 2.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description voidclose()booleanensureLength(long newLong)longgetFilePointer()booleanisReadOnly()longlength()intread()voidread(byte[] b, int offset, int length)intreadInt()longreadLong()voidseek(long position)booleansetLength(long newLength)voidsynch()voidwrite(byte[] b, int offset, int length)voidwriteInt(int i)voidwriteLong(long i)
-
-
-
Method Detail
-
length
long length() throws java.io.IOException- Throws:
java.io.IOException
-
seek
void seek(long position) throws java.io.IOException
- Throws:
java.io.IOException
-
getFilePointer
long getFilePointer() throws java.io.IOException- Throws:
java.io.IOException
-
read
int read() throws java.io.IOException
- Throws:
java.io.IOException
-
read
void read(byte[] b, int offset, int length) throws java.io.IOException- Throws:
java.io.IOException
-
write
void write(byte[] b, int offset, int length) throws java.io.IOException- Throws:
java.io.IOException
-
readInt
int readInt() throws java.io.IOException- Throws:
java.io.IOException
-
writeInt
void writeInt(int i) throws java.io.IOException- Throws:
java.io.IOException
-
readLong
long readLong() throws java.io.IOException- Throws:
java.io.IOException
-
writeLong
void writeLong(long i) throws java.io.IOException- Throws:
java.io.IOException
-
close
void close() throws java.io.IOException- Throws:
java.io.IOException
-
isReadOnly
boolean isReadOnly()
-
synch
void synch()
-
ensureLength
boolean ensureLength(long newLong)
-
setLength
boolean setLength(long newLength)
-
-
DataMelt 3.0 © DataMelt by jWork.ORG