|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjhplot.math.io.LERandomAccessFile
public class LERandomAccessFile
This class was designed on the base of Roedy Green LEDataInputStream Thanks to Roedy Green, Canadian Mind Products mailto:roedy@mindprod.com http://mindprod.com
| Constructor Summary | |
|---|---|
LERandomAccessFile(File f,
String rw)
|
|
LERandomAccessFile(String f,
String rw)
constructors |
|
| Method Summary | |
|---|---|
void |
close()
|
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. |
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. |
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(String s)
|
void |
writeChar(int v)
like RandomAcessFile.writeChar. |
void |
writeChars(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(String str)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LERandomAccessFile(String f,
String rw)
throws IOException
IOException
public LERandomAccessFile(File f,
String rw)
throws IOException
IOException| Method Detail |
|---|
public final short readShort()
throws IOException
readShort in interface DataInputIOException
public final int readUnsignedShort()
throws IOException
readUnsignedShort in interface DataInputIOException
public final char readChar()
throws IOException
readChar in interface DataInputIOException
public final int readInt()
throws IOException
readInt in interface DataInputIOException
public final long readLong()
throws IOException
readLong in interface DataInputIOException
public final float readFloat()
throws IOException
readFloat in interface DataInputIOException
public final double readDouble()
throws IOException
readDouble in interface DataInputIOException
public final void writeShort(int v)
throws IOException
writeShort in interface DataOutputIOException
public final void writeChar(int v)
throws IOException
writeChar in interface DataOutputIOException
public final void writeInt(int v)
throws IOException
writeInt in interface DataOutputIOException
public final void writeLong(long v)
throws IOException
writeLong in interface DataOutputIOException
public final void writeFloat(float v)
throws IOException
writeFloat in interface DataOutputIOException
public final void writeDouble(double v)
throws IOException
writeDouble in interface DataOutputIOException
public final void writeChars(String s)
throws IOException
writeChars in interface DataOutputIOException
public final FileDescriptor getFD()
throws IOException
IOException
public final long getFilePointer()
throws IOException
IOException
public final long length()
throws IOException
IOException
public final int read(byte[] b,
int off,
int len)
throws IOException
IOException
public final int read(byte[] b)
throws IOException
IOException
public final int read()
throws IOException
IOException
public final void readFully(byte[] b)
throws IOException
readFully in interface DataInputIOException
public final void readFully(byte[] b,
int off,
int len)
throws IOException
readFully in interface DataInputIOException
public final int skipBytes(int n)
throws IOException
skipBytes in interface DataInputIOException
public final boolean readBoolean()
throws IOException
readBoolean in interface DataInputIOException
public final byte readByte()
throws IOException
readByte in interface DataInputIOException
public final int readUnsignedByte()
throws IOException
readUnsignedByte in interface DataInputIOException
public final String readLine()
throws IOException
readLine in interface DataInputIOException
public final String readUTF()
throws IOException
readUTF in interface DataInputIOException
public final void seek(long pos)
throws IOException
IOException
public final void write(int b)
throws IOException
write in interface DataOutputIOException
public final void write(byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputIOException
public final void writeBoolean(boolean v)
throws IOException
writeBoolean in interface DataOutputIOException
public final void writeByte(int v)
throws IOException
writeByte in interface DataOutputIOException
public final void writeBytes(String s)
throws IOException
writeBytes in interface DataOutputIOException
public final void writeUTF(String str)
throws IOException
writeUTF in interface DataOutputIOException
public final void write(byte[] b)
throws IOException
write in interface DataOutputIOException
public final void close()
throws IOException
IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||