|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.mindprod.ledatastream.LERandomAccessFile
Field Summary | |
private static java.lang.String |
EmbeddedCopyright
|
protected java.io.RandomAccessFile |
r
|
(package private) byte[] |
w
|
Constructor Summary | |
LERandomAccessFile(java.io.File f,
java.lang.String rw)
|
|
LERandomAccessFile(java.lang.String f,
java.lang.String rw)
constructors |
Method Summary | |
void |
close()
|
java.io.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()
like RandomAcessFile.readChar except little endian. |
double |
readDouble()
like RandomAcessFile.readDouble except little endian. |
float |
readFloat()
like RandomAcessFile.readFloat except little endian. |
void |
readFully(byte[] b)
|
void |
readFully(byte[] b,
int off,
int len)
|
int |
readInt()
like RandomAcessFile.readInt except little endian. |
java.lang.String |
readLine()
|
long |
readLong()
like RandomAcessFile.readLong except little endian. |
short |
readShort()
like RandomAcessFile.readShort except little endian. |
int |
readUnsignedByte()
|
int |
readUnsignedShort()
like RandomAcessFile.readUnsignedShort except little endian. |
java.lang.String |
readUTF()
|
void |
seek(long pos)
|
int |
skipBytes(int n)
|
void |
write(byte[] b)
|
void |
write(byte[] b,
int off,
int len)
|
void |
write(int b)
|
void |
writeBoolean(boolean v)
|
void |
writeByte(int v)
|
void |
writeBytes(java.lang.String s)
|
void |
writeChar(int v)
like RandomAcessFile.writeChar. |
void |
writeChars(java.lang.String s)
like RandomAcessFile.writeChars, has to flip each char. |
void |
writeDouble(double v)
like RandomAcessFile.writeDouble. |
void |
writeFloat(float v)
like RandomAcessFile.writeFloat. |
void |
writeInt(int v)
like RandomAcessFile.writeInt. |
void |
writeLong(long v)
like RandomAcessFile.writeLong. |
void |
writeShort(int v)
like RandomAcessFile.writeShort. |
void |
writeUTF(java.lang.String str)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final java.lang.String EmbeddedCopyright
protected java.io.RandomAccessFile r
byte[] w
Constructor Detail |
public LERandomAccessFile(java.lang.String f, java.lang.String rw) throws java.io.IOException
public LERandomAccessFile(java.io.File f, java.lang.String rw) throws java.io.IOException
Method Detail |
public final short readShort() throws java.io.IOException
readShort
in interface java.io.DataInput
java.io.IOException
public final int readUnsignedShort() throws java.io.IOException
readUnsignedShort
in interface java.io.DataInput
java.io.IOException
public final char readChar() throws java.io.IOException
readChar
in interface java.io.DataInput
java.io.IOException
public final int readInt() throws java.io.IOException
readInt
in interface java.io.DataInput
java.io.IOException
public final long readLong() throws java.io.IOException
readLong
in interface java.io.DataInput
java.io.IOException
public final float readFloat() throws java.io.IOException
readFloat
in interface java.io.DataInput
java.io.IOException
public final double readDouble() throws java.io.IOException
readDouble
in interface java.io.DataInput
java.io.IOException
public final void writeShort(int v) throws java.io.IOException
writeShort
in interface java.io.DataOutput
java.io.IOException
public final void writeChar(int v) throws java.io.IOException
writeChar
in interface java.io.DataOutput
java.io.IOException
public final void writeInt(int v) throws java.io.IOException
writeInt
in interface java.io.DataOutput
java.io.IOException
public final void writeLong(long v) throws java.io.IOException
writeLong
in interface java.io.DataOutput
java.io.IOException
public final void writeFloat(float v) throws java.io.IOException
writeFloat
in interface java.io.DataOutput
java.io.IOException
public final void writeDouble(double v) throws java.io.IOException
writeDouble
in interface java.io.DataOutput
java.io.IOException
public final void writeChars(java.lang.String s) throws java.io.IOException
writeChars
in interface java.io.DataOutput
java.io.IOException
public final java.io.FileDescriptor getFD() throws java.io.IOException
java.io.IOException
public final long getFilePointer() throws java.io.IOException
java.io.IOException
public final long length() throws java.io.IOException
java.io.IOException
public final int read(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
public final int read(byte[] b) throws java.io.IOException
java.io.IOException
public final int read() throws java.io.IOException
java.io.IOException
public final void readFully(byte[] b) throws java.io.IOException
readFully
in interface java.io.DataInput
java.io.IOException
public final void readFully(byte[] b, int off, int len) throws java.io.IOException
readFully
in interface java.io.DataInput
java.io.IOException
public final int skipBytes(int n) throws java.io.IOException
skipBytes
in interface java.io.DataInput
java.io.IOException
public final boolean readBoolean() throws java.io.IOException
readBoolean
in interface java.io.DataInput
java.io.IOException
public final byte readByte() throws java.io.IOException
readByte
in interface java.io.DataInput
java.io.IOException
public final int readUnsignedByte() throws java.io.IOException
readUnsignedByte
in interface java.io.DataInput
java.io.IOException
public final java.lang.String readLine() throws java.io.IOException
readLine
in interface java.io.DataInput
java.io.IOException
public final java.lang.String readUTF() throws java.io.IOException
readUTF
in interface java.io.DataInput
java.io.IOException
public final void seek(long pos) throws java.io.IOException
java.io.IOException
public final void write(int b) throws java.io.IOException
write
in interface java.io.DataOutput
java.io.IOException
public final void write(byte[] b, int off, int len) throws java.io.IOException
write
in interface java.io.DataOutput
java.io.IOException
public final void writeBoolean(boolean v) throws java.io.IOException
writeBoolean
in interface java.io.DataOutput
java.io.IOException
public final void writeByte(int v) throws java.io.IOException
writeByte
in interface java.io.DataOutput
java.io.IOException
public final void writeBytes(java.lang.String s) throws java.io.IOException
writeBytes
in interface java.io.DataOutput
java.io.IOException
public final void writeUTF(java.lang.String str) throws java.io.IOException
writeUTF
in interface java.io.DataOutput
java.io.IOException
public final void write(byte[] b) throws java.io.IOException
write
in interface java.io.DataOutput
java.io.IOException
public final void close() throws java.io.IOException
java.io.IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |