public class NumberedSplitRandomAccessFile extends RandomAccessFile
| Constructor and Description |
|---|
NumberedSplitRandomAccessFile(File file,
String mode) |
NumberedSplitRandomAccessFile(File file,
String mode,
File[] allSortedSplitFiles) |
NumberedSplitRandomAccessFile(String name,
String mode) |
| Modifier and Type | Method and Description |
|---|---|
long |
getFilePointer() |
long |
length() |
void |
openLastSplitFileForReading() |
int |
read() |
int |
read(byte[] b) |
int |
read(byte[] b,
int off,
int len) |
void |
seek(long pos) |
void |
seekInCurrentPart(long pos) |
void |
write(byte[] b) |
void |
write(byte[] b,
int off,
int len) |
void |
write(int b) |
close, getChannel, getFD, readBoolean, readByte, readChar, readDouble, readFloat, readFully, readFully, readInt, readLine, readLong, readShort, readUnsignedByte, readUnsignedShort, readUTF, setLength, skipBytes, writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFpublic NumberedSplitRandomAccessFile(String name, String mode) throws IOException
IOExceptionpublic NumberedSplitRandomAccessFile(File file, String mode) throws IOException
IOExceptionpublic NumberedSplitRandomAccessFile(File file, String mode, File[] allSortedSplitFiles) throws IOException
IOExceptionpublic int read()
throws IOException
read in class RandomAccessFileIOExceptionpublic int read(byte[] b)
throws IOException
read in class RandomAccessFileIOExceptionpublic int read(byte[] b,
int off,
int len)
throws IOException
read in class RandomAccessFileIOExceptionpublic void write(int b)
throws IOException
write in interface DataOutputwrite in class RandomAccessFileIOExceptionpublic void write(byte[] b)
throws IOException
write in interface DataOutputwrite in class RandomAccessFileIOExceptionpublic void write(byte[] b,
int off,
int len)
throws IOException
write in interface DataOutputwrite in class RandomAccessFileIOExceptionpublic void seek(long pos)
throws IOException
seek in class RandomAccessFileIOExceptionpublic long getFilePointer()
throws IOException
getFilePointer in class RandomAccessFileIOExceptionpublic long length()
throws IOException
length in class RandomAccessFileIOExceptionpublic void seekInCurrentPart(long pos)
throws IOException
IOExceptionpublic void openLastSplitFileForReading()
throws IOException
IOExceptionCopyright © 2021. All rights reserved.