|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.io.RandomAccessFile
com.imagero.uio.impl.RandomAccessFileX
Enhanced RandomAccessFile which a) closes itself on finalization and b) knows if it's writable or not
| Constructor Summary | |
RandomAccessFileX(java.io.File file,
java.lang.String mode)
|
|
RandomAccessFileX(java.lang.String name,
java.lang.String mode)
|
|
| Method Summary | |
protected void |
finalize()
|
java.lang.String |
getMode()
|
boolean |
writable()
|
| Methods inherited from class java.io.RandomAccessFile |
close, getChannel, getFD, getFilePointer, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, seek, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RandomAccessFileX(java.lang.String name,
java.lang.String mode)
throws java.io.IOException
public RandomAccessFileX(java.io.File file,
java.lang.String mode)
throws java.io.IOException
| Method Detail |
protected void finalize()
throws java.lang.Throwable
java.lang.Throwablepublic java.lang.String getMode()
public boolean writable()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||