public class BufferedRandomAccessFile extends RandomAccessFile
| Constructor and Description |
|---|
BufferedRandomAccessFile(File file,
String mode) |
BufferedRandomAccessFile(File file,
String mode,
int bufferSize) |
| Modifier and Type | Method and Description |
|---|---|
int |
read() |
int |
read(byte[] b) |
int |
read(long seek,
byte[] b) |
void |
seek(long pos) |
void |
write(long seek,
byte[] array) |
void |
writeByte(long seek,
byte value) |
void |
writeChar(long seek,
char value) |
void |
writeDouble(long seek,
double value) |
void |
writeFloat(long seek,
float value) |
void |
writeInt(long seek,
int value) |
void |
writeLong(long seek,
long value) |
void |
writeShort(long seek,
short value) |
close, getChannel, getFD, getFilePointer, 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, writeUTFpublic BufferedRandomAccessFile(File file, String mode) throws FileNotFoundException
FileNotFoundExceptionpublic BufferedRandomAccessFile(File file, String mode, int bufferSize) throws FileNotFoundException
FileNotFoundExceptionpublic int read()
throws IOException
read in class RandomAccessFileIOExceptionpublic void seek(long pos)
throws IOException
seek in class RandomAccessFileIOExceptionpublic int read(byte[] b)
throws IOException
read in class RandomAccessFileIOExceptionpublic int read(long seek,
byte[] b)
throws IOException
IOExceptionpublic void writeByte(long seek,
byte value)
throws IOException
IOExceptionpublic void writeChar(long seek,
char value)
throws IOException
IOExceptionpublic void writeDouble(long seek,
double value)
throws IOException
IOExceptionpublic void writeFloat(long seek,
float value)
throws IOException
IOExceptionpublic void writeShort(long seek,
short value)
throws IOException
IOExceptionpublic void write(long seek,
byte[] array)
throws IOException
IOExceptionpublic void writeInt(long seek,
int value)
throws IOException
IOExceptionpublic void writeLong(long seek,
long value)
throws IOException
IOExceptionCopyright © 2015 Universal Java Matrix Package. All rights reserved.