|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.at4j.zip.extattrs.NtfsExternalFileAttributes
public class NtfsExternalFileAttributes
This object represents the external file attributes for NTFS files. It
contains a set of NtfsFileAttributes.
| Field Summary | |
|---|---|
static NtfsExternalFileAttributes |
DEFAULT_DIRECTORY_ATTRIBUTES
The default directory attributes (archive). |
static NtfsExternalFileAttributes |
DEFAULT_FILE_ATTRIBUTES
The default file attributes (archive). |
| Constructor Summary | |
|---|---|
NtfsExternalFileAttributes(NtfsFileAttributes... attributes)
Create a new NTFS external file attributes object. |
|
NtfsExternalFileAttributes(Set<NtfsFileAttributes> s)
Create a new NTFS external file attributes object. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final NtfsExternalFileAttributes DEFAULT_FILE_ATTRIBUTES
public static final NtfsExternalFileAttributes DEFAULT_DIRECTORY_ATTRIBUTES
| Constructor Detail |
|---|
public NtfsExternalFileAttributes(NtfsFileAttributes... attributes)
attributes - The attributes for the entity.public NtfsExternalFileAttributes(Set<NtfsFileAttributes> s)
s - The attributes for the entity.| Method Detail |
|---|
public EnumSet<NtfsFileAttributes> getAttributes()
public ZipVersionMadeBy getVersionMadeBy()
ZipExternalFileAttributes
getVersionMadeBy in interface ZipExternalFileAttributespublic boolean isSet(NtfsFileAttributes attr)
attr - The attribute to test for.
true if the attribute is set in this object.public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic UnsignedInteger getEncodedValue()
getEncodedValue in interface ZipExternalFileAttributes
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||