phelps.io
Interface RandomAccess
public
interface
RandomAccess
File-like objects that support random access.
Potentially conflicts with java.util.RandomAccess, but seldom in practice.
Method Summary |
void | close() |
long | getFilePointer() |
long | length() |
int | read() |
int | read(byte[] b, int off, int len) |
int | read(byte[] b) |
void | readFully(byte[] b) |
void | readFully(byte[] b, int off, int len) |
void | seek(long pos)
ByteArrayInputStream:
int available()
void close()
void mark(int readAheadLimit)
boolean markSupported()
int read()
int read(byte[] b, int off, int len)
void reset()
long skip(long n)
RandomAccessFile
void close()
FileChannel getChannel()
FileDescriptor getFD()
long getFilePointer()
long length()
int read()
int read(byte[] b)
int read(byte[] b, int off, int len)
boolean readBoolean()
byte readByte()
char readChar()
double readDouble()
float readFloat()
void readFully(byte[] b)
void readFully(byte[] b, int off, int len)
int readInt()
String readLine()
long readLong()
short readShort()
int readUnsignedByte()
int readUnsignedShort()
String readUTF()
void seek(long pos)
void setLength(long newLength)
int skipBytes(int n)
void writeBoolean(boolean v)
void writeByte(int v)
void writeBytes(String s)
void writeChar(int v)
void writeChars(String s)
void writeDouble(double v)
void writeFloat(float v)
void writeInt(int v)
void writeLong(long v)
void writeShort(int v)
void writeUTF(String str) |
int | skipBytes(int n) |
void | write(byte[] b) |
void | write(byte[] b, int off, int len) |
void | write(int b) |
public void close()
public long getFilePointer()
public long length()
public int read()
public int read(byte[] b, int off, int len)
public int read(byte[] b)
public void readFully(byte[] b)
public void readFully(byte[] b, int off, int len)
public void seek(long pos)
ByteArrayInputStream:
int available()
void close()
void mark(int readAheadLimit)
boolean markSupported()
int read()
int read(byte[] b, int off, int len)
void reset()
long skip(long n)
RandomAccessFile
void close()
FileChannel getChannel()
FileDescriptor getFD()
long getFilePointer()
long length()
int read()
int read(byte[] b)
int read(byte[] b, int off, int len)
boolean readBoolean()
byte readByte()
char readChar()
double readDouble()
float readFloat()
void readFully(byte[] b)
void readFully(byte[] b, int off, int len)
int readInt()
String readLine()
long readLong()
short readShort()
int readUnsignedByte()
int readUnsignedShort()
String readUTF()
void seek(long pos)
void setLength(long newLength)
int skipBytes(int n)
void writeBoolean(boolean v)
void writeByte(int v)
void writeBytes(String s)
void writeChar(int v)
void writeChars(String s)
void writeDouble(double v)
void writeFloat(float v)
void writeInt(int v)
void writeLong(long v)
void writeShort(int v)
void writeUTF(String str)
public int skipBytes(int n)
public void write(byte[] b)
public void write(byte[] b, int off, int len)
public void write(int b)