Class BufferedAccessFile
java.lang.Object
java.io.RandomAccessFile
com.qasymphony.ci.plugin.store.file.BufferedAccessFile
- All Implemented Interfaces:
Closeable,DataInput,DataOutput,AutoCloseable
- Since:
- 1.0
- Version:
- 10/23/2015 1:20 AM trongle $
- Author:
- trongle
-
Constructor Summary
ConstructorsConstructorDescriptionBufferedAccessFile(File file, String mode) BufferedAccessFile(File file, String mode, int bufferSize) BufferedAccessFile(String filename, String mode) BufferedAccessFile(String filename, String mode, int bufsize) -
Method Summary
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
-
Constructor Details
-
BufferedAccessFile
- Parameters:
file- file to accessmode- mode- Throws:
IOException- IOException
-
BufferedAccessFile
- Parameters:
file- file to accessmode- modebufferSize- bufferSize- Throws:
IOException- IOException
-
BufferedAccessFile
- Parameters:
filename- fileNamemode- mode- Throws:
IOException- IOException
-
BufferedAccessFile
- Parameters:
filename- fileNamemode- modebufsize- bufsize- Throws:
IOException- IOException
-
-
Method Details
-
getFilePointer
- Overrides:
getFilePointerin classRandomAccessFile- Throws:
IOException
-
getNextLine
- Returns:
- line
- Throws:
IOException- IOException
-
getNextLine
- Parameters:
charset- charset- Returns:
- line
- Throws:
IOException- IOException
-
read
- Overrides:
readin classRandomAccessFile- Throws:
IOException
-
read
- Overrides:
readin classRandomAccessFile- Throws:
IOException
-
seek
- Overrides:
seekin classRandomAccessFile- Throws:
IOException
-