public interface ArchiveParserCallback
ArchiveParser. (ArchiveParser)| Modifier and Type | Method and Description |
|---|---|
void |
apcArcRecordStart(ArcRecordBase arcRecord,
long startOffset,
boolean compressed)
Notity that an ARC record was encountered.
|
void |
apcDone(org.jwat.gzip.GzipReader gzipReader,
ArcReader arcReader,
WarcReader warcReader)
Parser done, no more records/entries.
|
void |
apcFileId(java.io.File file,
int fileId)
Report the file and what it has been identified as.
|
void |
apcGzipEntryStart(org.jwat.gzip.GzipEntry gzipEntry,
long startOffset)
Notity that a GZIP entry was encountered.
|
void |
apcRuntimeError(java.lang.Throwable t,
long offset,
long consumed)
Report a runtime exception was encountered during the parsing of a file.
|
void |
apcUpdateConsumed(long consumed)
Report updated consumed bytes number.
|
void |
apcWarcRecordStart(WarcRecord warcRecord,
long startOffset,
boolean compressed)
Notity that a WARC record was encountered.
|
void apcFileId(java.io.File file, int fileId)
void apcGzipEntryStart(org.jwat.gzip.GzipEntry gzipEntry, long startOffset)
void apcArcRecordStart(ArcRecordBase arcRecord, long startOffset, boolean compressed) throws java.io.IOException
java.io.IOExceptionvoid apcWarcRecordStart(WarcRecord warcRecord, long startOffset, boolean compressed) throws java.io.IOException
java.io.IOExceptionvoid apcUpdateConsumed(long consumed)
void apcRuntimeError(java.lang.Throwable t, long offset, long consumed)
void apcDone(org.jwat.gzip.GzipReader gzipReader, ArcReader arcReader, WarcReader warcReader)
Copyright © 2011–2022. All rights reserved.