Package zombie.util
Class BufferedRandomAccessFile
java.lang.Object
java.io.RandomAccessFile
zombie.util.BufferedRandomAccessFile
- All Implemented Interfaces:
java.io.Closeable
,java.io.DataInput
,java.io.DataOutput
,java.lang.AutoCloseable
public final class BufferedRandomAccessFile
extends java.io.RandomAccessFile
-
Constructor Summary
Constructors Constructor Description BufferedRandomAccessFile(java.io.File file, java.lang.String string, int int1)
BufferedRandomAccessFile(java.lang.String string, java.lang.String string2, int int1)
-
Method Summary
Modifier and Type Method Description long
getFilePointer()
java.lang.String
getNextLine()
int
read()
int
read(byte[] byteArray, int int1, int int2)
void
seek(long long1)
Methods inherited from class java.io.RandomAccessFile
close, getChannel, getFD, length, 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, writeUTF
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BufferedRandomAccessFile
public BufferedRandomAccessFile(java.lang.String string, java.lang.String string2, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
BufferedRandomAccessFile
public BufferedRandomAccessFile(java.io.File file, java.lang.String string, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
-
Method Details
-
read
public final int read() throws java.io.IOException- Overrides:
read
in classjava.io.RandomAccessFile
- Throws:
java.io.IOException
-
read
public int read(byte[] byteArray, int int1, int int2) throws java.io.IOException- Overrides:
read
in classjava.io.RandomAccessFile
- Throws:
java.io.IOException
-
getFilePointer
public long getFilePointer() throws java.io.IOException- Overrides:
getFilePointer
in classjava.io.RandomAccessFile
- Throws:
java.io.IOException
-
seek
public void seek(long long1) throws java.io.IOException- Overrides:
seek
in classjava.io.RandomAccessFile
- Throws:
java.io.IOException
-
getNextLine
public final java.lang.String getNextLine() throws java.io.IOException- Throws:
java.io.IOException
-