Top Description Fields Constructors Methods
org.hsqldb.lib.tar

public Class PIFData

extends HashMap<String, String>
Class Inheritance
Imports
java.io.BufferedReader, .IOException, .InputStream, .InputStreamReader, java.nio.charset.Charset, .StandardCharsets, java.util.HashMap, java.util.regex.Matcher, .Pattern

Pax Interchange Format object constituted from an Input Stream.

Right now, the only Pax property that we support directly is "size".

Field Summary

Modifier and TypeField and Description
private static final Pattern
pack-priv static final long
private Long

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Long

Returns:

Pax size
getSize
()

N.b. this is nothing to do with HashMap.size() or Map.size().

Inherited from java.util.HashMap:
clearclonecomputecomputeIfAbsentcomputeIfPresentcontainsKeycontainsValueentrySetforEachgetgetOrDefaultisEmptykeySetmergenewHashMapputputAllputIfAbsentremoveremovereplacereplacereplaceAllsizevalues

Field Detail

pifRecordPatternback to summary
private static final Pattern pifRecordPattern
serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides java.util.HashMap.serialVersionUID.

sizeObjectback to summary
private Long sizeObject

Constructor Detail

PIFDataback to summary
public PIFData(InputStream stream) throws TarMalformatException, IOException

Method Detail

getSizeback to summary
public Long getSize()

N.b. this is nothing to do with HashMap.size() or Map.size(). This returns the value of the Pax "size" property.

Returns:Long

Pax size