public class CDXFile extends SortedTextFile implements CDXInputSource
SortedTextFile.CachedStringIterator, SortedTextFile.DefaultComparator, SortedTextFile.NumericComparatorbinsearchBlockSize, defaultComparator, factory, numericComparator| Constructor and Description |
|---|
CDXFile(SeekableLineReaderFactory factory) |
CDXFile(String uri) |
| Modifier and Type | Method and Description |
|---|---|
static BufferedReader |
createStreamingLineReader(String uri,
boolean gzipped) |
static File |
decodeGZToTemp(String uriGZ) |
CloseableIterator<String> |
getCDXIterator(String key,
String prefix,
boolean exact,
ZipNumParams params) |
CloseableIterator<String> |
getCDXIterator(String key,
String start,
String end,
ZipNumParams params) |
long |
getTotalLines() |
static SeekableLineReaderFactory |
getUriFactory(String uri,
boolean decodeToTemp) |
binaryFindOffset, getBinsearchBlockSize, getLastLine, getNthSplit, getRange, getRecordIterator, getRecordIterator, getRecordIterator, getRecordIteratorLT, getSLR, getSplitIterator, getStartEndOffsets, reloadFactory, setBinsearchBlockSize, setFactorypublic CDXFile(String uri) throws IOException
IOExceptionpublic CDXFile(SeekableLineReaderFactory factory)
public CloseableIterator<String> getCDXIterator(String key, String start, String end, ZipNumParams params) throws IOException
getCDXIterator in interface CDXInputSourceIOExceptionpublic CloseableIterator<String> getCDXIterator(String key, String prefix, boolean exact, ZipNumParams params) throws IOException
getCDXIterator in interface CDXInputSourceIOExceptionpublic static SeekableLineReaderFactory getUriFactory(String uri, boolean decodeToTemp) throws IOException
IOExceptionpublic static File decodeGZToTemp(String uriGZ) throws IOException
IOExceptionpublic static BufferedReader createStreamingLineReader(String uri, boolean gzipped) throws IOException
IOExceptionpublic long getTotalLines()
getTotalLines in interface CDXInputSourceCopyright © 2015 The International Internet Preservation Consortium. All Rights Reserved.