Interface ArchiveFileConstants
- All Known Subinterfaces:
ARCConstants,WARCConstants
- All Known Implementing Classes:
ARCMetaData,ARCMetaDataParser,ARCResource,HTTPHeadersResource,WARCRecordWriter
public interface ArchiveFileConstants
Constants used by Archive files and in Archive file processing.
- Version:
- $Date$ $Revision$
- Author:
- stack
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringKey for the Archive Record absolute offset into Archive file.static final Stringstatic final Stringstatic final intSize used to preallocate stringbuffer used outputting a cdx line.static final Stringstatic final StringKey for the Archive File Creation Date field.static final Stringstatic final StringDot plus compressed file extention.static final Stringstatic final Stringstatic final Stringstatic final StringSuffix appended to 'broken' files.static final StringKey for the Archive File length field.static final StringKey for the Archive File mimetype field.static final Stringstatic final StringSuffix given to files currently in use.static final StringKey for the Archive File origin-code field.static final Stringstatic final StringKey for the Archive File record field.static final charstatic final StringKey for the Archive File type field.static final StringKey for the Archive File URL field.static final StringKey for the Archive File version field.
-
Field Details
-
OCCUPIED_SUFFIX
-
INVALID_SUFFIX
-
DOT_COMPRESSED_FILE_EXTENSION
-
VERSION_FIELD_KEY
-
ORIGIN_FIELD_KEY
Key for the Archive File origin-code field. This value is often hard-coded, so use with care.- See Also:
-
LENGTH_FIELD_KEY
-
TYPE_FIELD_KEY
-
URL_FIELD_KEY
-
DATE_FIELD_KEY
-
MIMETYPE_FIELD_KEY
-
RECORD_IDENTIFIER_FIELD_KEY
-
ABSOLUTE_OFFSET_KEY
Key for the Archive Record absolute offset into Archive file.- See Also:
-
READER_IDENTIFIER_FIELD_KEY
- See Also:
-
CDX_LINE_BUFFER_SIZE
static final int CDX_LINE_BUFFER_SIZESize used to preallocate stringbuffer used outputting a cdx line. The numbers below are guesses at sizes of each of the cdx fields. The ones in the below are spaces. Here is the legend used outputting the cdx line: CDX b e a m s c V n g. Consult cdx documentation on meaning of each of these fields.- See Also:
-
DEFAULT_DIGEST_METHOD
- See Also:
-
SINGLE_SPACE
static final char SINGLE_SPACE- See Also:
-
CRLF
- See Also:
-
CDX
- See Also:
-
DUMP
- See Also:
-
GZIP_DUMP
- See Also:
-
HEADER
- See Also:
-
NOHEAD
- See Also:
-
CDX_FILE
- See Also:
-