public class ERandomAccessFile extends RandomAccessFile
| Constructor and Description |
|---|
ERandomAccessFile(File file,
String mode) |
ERandomAccessFile(String file,
String mode) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFilePointer() |
int |
readIntE() |
long |
readLongE() |
short |
readShortE() |
void |
seek(long pos) |
void |
setEndian(boolean le) |
void |
setFileOffset(long offset) |
close, getChannel, getFD, length, read, read, read, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setLength, skipBytes, write, write, write, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic ERandomAccessFile(String file, String mode) throws IOException
IOExceptionpublic ERandomAccessFile(File file, String mode) throws IOException
IOExceptionpublic void setEndian(boolean le)
public final short readShortE()
throws IOException
IOExceptionpublic final int readIntE()
throws IOException
IOExceptionpublic final long readLongE()
throws IOException
IOExceptionpublic void setFileOffset(long offset)
throws IOException
IOExceptionpublic long getFilePointer()
throws IOException
getFilePointer in class RandomAccessFileIOExceptionpublic void seek(long pos)
throws IOException
seek in class RandomAccessFileIOExceptionCopyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.