38 lines
740 B
Java
38 lines
740 B
Java
package org.hsqldb.persist;
|
|
|
|
import java.io.IOException;
|
|
|
|
public interface RandomAccessInterface {
|
|
void close() throws IOException;
|
|
|
|
boolean ensureLength(long j);
|
|
|
|
long getFilePointer() throws IOException;
|
|
|
|
boolean isReadOnly();
|
|
|
|
long length() throws IOException;
|
|
|
|
int read() throws IOException;
|
|
|
|
void read(byte[] bArr, int i, int i2) throws IOException;
|
|
|
|
int readInt() throws IOException;
|
|
|
|
long readLong() throws IOException;
|
|
|
|
void seek(long j) throws IOException;
|
|
|
|
boolean setLength(long j);
|
|
|
|
void synch();
|
|
|
|
boolean wasNio();
|
|
|
|
void write(byte[] bArr, int i, int i2) throws IOException;
|
|
|
|
void writeInt(int i) throws IOException;
|
|
|
|
void writeLong(long j) throws IOException;
|
|
}
|