org.at4j.zip.extattrs
Class UnparsedExternalFileAttributesParser

java.lang.Object
  extended by org.at4j.zip.extattrs.UnparsedExternalFileAttributesParser
All Implemented Interfaces:
ZipExternalFileAttributesParser

public class UnparsedExternalFileAttributesParser
extends Object
implements ZipExternalFileAttributesParser

Since:
1.0
Author:
Karl Gustafsson

Field Summary
static UnixExternalFileAttributesParser INSTANCE
          Singleton instance that may be used instead of instantiating this class.
 
Constructor Summary
UnparsedExternalFileAttributesParser()
           
 
Method Summary
 ZipVersionMadeBy getVersionMadeBy()
          This method returns null.
 UnparsedExternalFileAttributes parse(ZipVersionMadeBy vmb, byte[] barr)
          Parse the external file attributes.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final UnixExternalFileAttributesParser INSTANCE
Singleton instance that may be used instead of instantiating this class.

Constructor Detail

UnparsedExternalFileAttributesParser

public UnparsedExternalFileAttributesParser()
Method Detail

parse

public UnparsedExternalFileAttributes parse(ZipVersionMadeBy vmb,
                                            byte[] barr)
Description copied from interface: ZipExternalFileAttributesParser
Parse the external file attributes.

Specified by:
parse in interface ZipExternalFileAttributesParser
Parameters:
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.
Returns:
The entry's external file attributes.

getVersionMadeBy

public ZipVersionMadeBy getVersionMadeBy()
This method returns null.

Specified by:
getVersionMadeBy in interface ZipExternalFileAttributesParser
Returns:
The version.