org.at4j.zip.extattrs
Interface ZipExternalFileAttributes

All Known Implementing Classes:
MsDosExternalFileAttributes, NtfsExternalFileAttributes, UnixExternalFileAttributes, UnparsedExternalFileAttributes

public interface ZipExternalFileAttributes

This is the interface for objects representing the external file attributes of a Zip file entry. The external file attributes is used for storing file metadata in a format that is specific to the software and operating system platform used to create the Zip file.

Implementations of this interface should be immutable.

Implementers of this interface are encouraged to also implement good equals and hashCode methods.

Since:
1.0
Author:
Karl Gustafsson
See Also:
ZipExternalFileAttributesFactory, ZipExternalFileAttributesParser, ZipExternalFileAttributesParserRegistry

Method Summary
 UnsignedInteger getEncodedValue()
          Get the value of the external file attributes encoded for storing in a Zip file.
 ZipVersionMadeBy getVersionMadeBy()
          Get the version of the Zip software used to create these external file attributes.
 

Method Detail

getVersionMadeBy

ZipVersionMadeBy getVersionMadeBy()
Get the version of the Zip software used to create these external file attributes.

Returns:
The version of the Zip software.

getEncodedValue

UnsignedInteger getEncodedValue()
Get the value of the external file attributes encoded for storing in a Zip file.

Returns:
The value of the external file attributes encoded for storing in a Zip file.