|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.at4j.zip.extattrs.UnixExternalFileAttributes
public class UnixExternalFileAttributes
This object represents file attributes in a Unix system. It has a field for the type of entity and a field for its access mode.
Instances of this class are immutable.
Field Summary | |
---|---|
static UnixExternalFileAttributes |
DEFAULT_DIRECTORY_ATTRIBUTES
Default directory attributes (directory, 0755) |
static UnixExternalFileAttributes |
DEFAULT_FILE_ATTRIBUTES
Default file attributes (file, 0644) |
Constructor Summary | |
---|---|
UnixExternalFileAttributes(UnixEntityType uet,
UnixEntityMode uem)
Create a UnixFileAttributes object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
UnsignedInteger |
getEncodedValue()
Get the value of the external file attributes encoded for storing in a Zip file. |
UnixEntityMode |
getEntityMode()
Get the entity mode. |
UnixEntityType |
getEntityType()
Get the entity type. |
ZipVersionMadeBy |
getVersionMadeBy()
Get the version of the Zip software used to create these external file attributes. |
int |
hashCode()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final UnixExternalFileAttributes DEFAULT_FILE_ATTRIBUTES
public static final UnixExternalFileAttributes DEFAULT_DIRECTORY_ATTRIBUTES
Constructor Detail |
---|
public UnixExternalFileAttributes(UnixEntityType uet, UnixEntityMode uem)
UnixFileAttributes
object.
uet
- The entity type.uem
- The entity's access mode.Method Detail |
---|
public ZipVersionMadeBy getVersionMadeBy()
ZipExternalFileAttributes
getVersionMadeBy
in interface ZipExternalFileAttributes
public UnixEntityType getEntityType()
public UnixEntityMode getEntityMode()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public String toString()
toString
in class Object
public UnsignedInteger getEncodedValue()
ZipExternalFileAttributes
getEncodedValue
in interface ZipExternalFileAttributes
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |