public class NtfsExternalFileAttributes extends Object implements ZipExternalFileAttributes
NtfsFileAttributes.| Modifier and Type | Field and Description |
|---|---|
static NtfsExternalFileAttributes |
DEFAULT_DIRECTORY_ATTRIBUTES
The default directory attributes (archive).
|
static NtfsExternalFileAttributes |
DEFAULT_FILE_ATTRIBUTES
The default file attributes (archive).
|
| Constructor and Description |
|---|
NtfsExternalFileAttributes(NtfsFileAttributes... attributes)
Create a new NTFS external file attributes object.
|
NtfsExternalFileAttributes(Set<NtfsFileAttributes> s)
Create a new NTFS external file attributes object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
EnumSet<NtfsFileAttributes> |
getAttributes()
Get (a copy of) the attributes for the entity.
|
UnsignedInteger |
getEncodedValue()
Get the encoded value for this set of attributes as it is stored in the
Zip file.
|
ZipVersionMadeBy |
getVersionMadeBy()
Get the version of the Zip software used to create these external file
attributes.
|
int |
hashCode() |
boolean |
isSet(NtfsFileAttributes attr)
Is the specified attribute set in this object?
|
String |
toString() |
public static final NtfsExternalFileAttributes DEFAULT_FILE_ATTRIBUTES
public static final NtfsExternalFileAttributes DEFAULT_DIRECTORY_ATTRIBUTES
public NtfsExternalFileAttributes(NtfsFileAttributes... attributes)
attributes - The attributes for the entity.public NtfsExternalFileAttributes(Set<NtfsFileAttributes> s)
s - The attributes for the entity.public EnumSet<NtfsFileAttributes> getAttributes()
public ZipVersionMadeBy getVersionMadeBy()
ZipExternalFileAttributesgetVersionMadeBy in interface ZipExternalFileAttributespublic boolean isSet(NtfsFileAttributes attr)
attr - The attribute to test for.true if the attribute is set in this object.public UnsignedInteger getEncodedValue()
getEncodedValue in interface ZipExternalFileAttributes