public class GzipEntryData extends Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
asciiFlag
Ascii bit set in header.
|
protected String |
comment
Optional comment from header.
|
protected int |
computedCrc16
CRC16 computed as verification to optional value found in header.
|
protected int |
computedCrc32
CRC32 computed as verification to value found in trailing header.
|
protected long |
computedISize
ISIZE computed as verification to value found in trailing header.
|
protected long |
csize
Compressed size of entry data.
|
protected Date |
date
Date read from header.
|
protected CompressionType |
extraFlags
Compression type read from extra flags in header.
|
protected String |
fileName
Optional filename from header.
|
protected boolean |
isNonCompliant
Boolean indicating whether header is non compliant.
|
protected CompressionMethod |
method
Compression methods read from header.
|
protected long |
offset
Offset of entry in input stream.
|
protected OperatingSystem |
os
Operating System from header converted to a field.
|
protected Integer |
readCrc16
Optional CRC16 read from header.
|
protected int |
readCrc32
CRC32 read from trailing header.
|
protected long |
readISize
ISIZE read from trailing header.
|
protected long |
size
Uncompressed size of entry data.
|
Constructor and Description |
---|
GzipEntryData()
Constructor required by the persistence layer.
|
GzipEntryData(org.jwat.gzip.GzipEntry entry)
Given a GZip entry, transfer the data to this object so it can be
persisted.
|
protected boolean isNonCompliant
protected long offset
protected CompressionMethod method
protected CompressionType extraFlags
protected String fileName
protected OperatingSystem os
protected String comment
protected boolean asciiFlag
protected Integer readCrc16
protected int computedCrc16
protected Date date
protected long size
protected long csize
protected long readISize
protected long computedISize
protected int readCrc32
protected int computedCrc32
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.