public class MsDosExternalFileAttributesParser extends Object implements ZipExternalFileAttributesParser
MsDosExternalFileAttributes
.MsDosExternalFileAttributes
Modifier and Type | Field and Description |
---|---|
static MsDosExternalFileAttributesParser |
INSTANCE
Singleton instance that may be used instead of instantiating this class.
|
Constructor and Description |
---|
MsDosExternalFileAttributesParser() |
Modifier and Type | Method and Description |
---|---|
ZipVersionMadeBy |
getVersionMadeBy()
Get the Zip version that is used to make the kind of external file
attributes that are parsed by this parser.
|
MsDosExternalFileAttributes |
parse(ZipVersionMadeBy vmb,
byte[] barr)
Parse the external file attributes.
|
public static final MsDosExternalFileAttributesParser INSTANCE
public ZipVersionMadeBy getVersionMadeBy()
ZipExternalFileAttributesParser
getVersionMadeBy
in interface ZipExternalFileAttributesParser
public MsDosExternalFileAttributes parse(ZipVersionMadeBy vmb, byte[] barr)
ZipExternalFileAttributesParser
parse
in interface ZipExternalFileAttributesParser
vmb
- The version of the Zip software used to create the Zip entry.barr
- The unparsed value of the external file attributes record in
the Zip entry.