public class UnixExternalFileAttributes extends Object implements ZipExternalFileAttributes
Instances of this class are immutable.
Modifier and Type | Field and Description |
---|---|
static UnixExternalFileAttributes |
DEFAULT_DIRECTORY_ATTRIBUTES
Default directory attributes (directory, 0755)
|
static UnixExternalFileAttributes |
DEFAULT_FILE_ATTRIBUTES
Default file attributes (file, 0644)
|
Constructor and Description |
---|
UnixExternalFileAttributes(UnixEntityType uet,
org.entityfs.entityattrs.unix.UnixEntityMode uem)
Create a
UnixFileAttributes object. |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
UnsignedInteger |
getEncodedValue()
Get the value of the external file attributes encoded for storing in a
Zip file.
|
org.entityfs.entityattrs.unix.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() |
public static final UnixExternalFileAttributes DEFAULT_FILE_ATTRIBUTES
public static final UnixExternalFileAttributes DEFAULT_DIRECTORY_ATTRIBUTES
public UnixExternalFileAttributes(UnixEntityType uet, org.entityfs.entityattrs.unix.UnixEntityMode uem)
UnixFileAttributes
object.uet
- The entity type.uem
- The entity's access mode.public ZipVersionMadeBy getVersionMadeBy()
ZipExternalFileAttributes
getVersionMadeBy
in interface ZipExternalFileAttributes
public UnixEntityType getEntityType()
public org.entityfs.entityattrs.unix.UnixEntityMode getEntityMode()
public UnsignedInteger getEncodedValue()
ZipExternalFileAttributes
getEncodedValue
in interface ZipExternalFileAttributes