public static class FileManager.DefaultRandomAccessFile extends RandomAccessFile
| Constructor and Description |
|---|
DefaultRandomAccessFile(String fullName,
String mode) |
| Modifier and Type | Method and Description |
|---|---|
long |
length()
RandomAccessFile.length() is not thread safe and side-effects the
file pointer if interrupted in the middle.
|
close, getChannel, getFD, getFilePointer, 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, writeUTFpublic DefaultRandomAccessFile(String fullName, String mode) throws FileNotFoundException
FileNotFoundExceptionpublic long length()
throws IOException
length in class RandomAccessFileIOExceptionCopyright © 2024. All rights reserved.