public class ZipExternalFileAttributesParserRegistry extends Object
ZipExternalFileAttributes
that may occur in a Zip file are
registered. A parser is identified by the version of the Zip software that
was used to create the Zip file (the ZipVersionMadeBy
).Constructor and Description |
---|
ZipExternalFileAttributesParserRegistry()
Create a new registry.
|
Modifier and Type | Method and Description |
---|---|
ZipExternalFileAttributesParser |
forVersionMadeBy(ZipVersionMadeBy vmb)
Get the parser for the specific Zip software version.
|
void |
registerExternalFileAttributesParser(ZipExternalFileAttributesParser p)
Register a new external file attributes parser object.
|
public ZipExternalFileAttributesParserRegistry()
The new registry contains all file attribute compatibility classes defined in this package.
public void registerExternalFileAttributesParser(ZipExternalFileAttributesParser p)
p
- The parser to register.public ZipExternalFileAttributesParser forVersionMadeBy(ZipVersionMadeBy vmb)
vmb
- The Zip software version.UnixExternalFileAttributesParser
if the software version is not
known.