Method Summary |
|
public void | close() Closes this file. |
public long | getFilePointer() Get the current offset in this file. |
public long | length() Gets the length of this file. |
public boolean | readBoolean() Reads a byte and returns true if the byte is not zero
otherwise false. |
public byte | readByte() returns one input byte from the stream. |
public char | readChar() returns a char value from the stream. |
public double | readDouble() returns a double from the stream. |
public float | readFloat() returns a float from the stream. |
public void | readFully(byte b) Reads some bytes from an input stream into the byte array. |
public void | readFully(byte b, int off, int len) Reads the specified number of bytes from an input stream. |
public int | readInt() returns an Int from the stream. |
public String | readLine() returns the next line of text from the input stream. |
public long | readLong() returns a long from the stream. |
public short | readShort() returns a short value from the stream. |
public String | readUTF() returns a string that has been encoded using in the UTF-8 format. |
public int | readUnsignedByte() Reads one input byte in the unsigned form. |
public int | readUnsignedShort() returns unsigned short. |
public void | seek(long newFilePointer) Set the file pointer. |
public void | setLength(long newLength) Sets the length of this file, either extending or truncating it. |
public int | skipBytes(int nBytes) |
public void | sync(boolean metaData) Force any changes out to the persistent store. |
public void | write(int b) Writes an int to the output stream . |
public void | write(byte b) Writes all the bytes in array to the stream. |
public void | write(byte b, int off, int len) Writes specified number bytes from array to the stream. |
public void | writeBoolean(boolean value) Writes a boolean value to this output stream. |
public void | writeByte(int value) Writes to the eight low-order bits of ant int. |
public void | writeBytes(String str) Writes a string as bytes to the stream. |
public void | writeChar(int value) Writes a char value to the output stream. |
public void | writeChars(String str) Writes the string to the stream. |
public void | writeDouble(double value) Writes a a double value to the stream. |
public void | writeFloat(float value) Writes a float value to the output stream. |
public void | writeInt(int value) Writes an int value to the output stream. |
public void | writeLong(long value) Writes a long value to the output stream. |
public void | writeShort(int value) |
public void | writeUTF(String str) Writes the string in the utf format. |