public class NIOSeekableLineReaderFactory extends java.lang.Object implements SeekableLineReaderFactory
| Modifier and Type | Class and Description |
|---|---|
static class |
NIOSeekableLineReaderFactory.NIOType |
BINSEARCH_BLOCK_SIZE| Constructor and Description |
|---|
NIOSeekableLineReaderFactory(java.io.File file) |
NIOSeekableLineReaderFactory(java.io.File file,
int blockSize) |
NIOSeekableLineReaderFactory(java.io.File file,
int blockSize,
NIOSeekableLineReaderFactory.NIOType type) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SeekableLineReader |
get() |
long |
getModTime() |
void |
reload() |
public NIOSeekableLineReaderFactory(java.io.File file,
int blockSize,
NIOSeekableLineReaderFactory.NIOType type)
throws java.io.IOException
java.io.IOExceptionpublic NIOSeekableLineReaderFactory(java.io.File file,
int blockSize)
throws java.io.IOException
java.io.IOExceptionpublic NIOSeekableLineReaderFactory(java.io.File file)
throws java.io.IOException
java.io.IOExceptionpublic SeekableLineReader get() throws java.io.IOException
get in interface SeekableLineReaderFactoryjava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface SeekableLineReaderFactoryjava.io.IOExceptionpublic long getModTime()
getModTime in interface SeekableLineReaderFactorypublic void reload()
throws java.io.IOException
reload in interface SeekableLineReaderFactoryjava.io.IOExceptionCopyright © 2019 The International Internet Preservation Consortium. All Rights Reserved.