|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.at4j.zip.extattrs.MsDosExternalFileAttributes
public class MsDosExternalFileAttributes
This object represents the MS DOS file attributes for a Zip entry. It
contains a set of MsDosFileAttributes
.
MsDosFileAttributes
Field Summary | |
---|---|
static MsDosExternalFileAttributes |
DEFAULT_DIRECTORY_ATTRIBUTES
|
static MsDosExternalFileAttributes |
DEFAULT_FILE_ATTRIBUTES
|
Constructor Summary | |
---|---|
MsDosExternalFileAttributes(MsDosFileAttributes... attributes)
Create a new attributes object. |
|
MsDosExternalFileAttributes(Set<MsDosFileAttributes> attributes)
Create a new attributes object. |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Set<MsDosFileAttributes> |
getAttributes()
Get (a copy of) this object's attributes. |
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. |
int |
hashCode()
|
boolean |
isSet(MsDosFileAttributes attr)
Is the attribute set? |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final MsDosExternalFileAttributes DEFAULT_DIRECTORY_ATTRIBUTES
public static final MsDosExternalFileAttributes DEFAULT_FILE_ATTRIBUTES
Constructor Detail |
---|
public MsDosExternalFileAttributes(MsDosFileAttributes... attributes)
attributes
- The attributes.public MsDosExternalFileAttributes(Set<MsDosFileAttributes> attributes)
attributes
- The attributes.Method Detail |
---|
public ZipVersionMadeBy getVersionMadeBy()
ZipExternalFileAttributes
getVersionMadeBy
in interface ZipExternalFileAttributes
public Set<MsDosFileAttributes> getAttributes()
public boolean isSet(MsDosFileAttributes attr)
true
if the specified attribute is set.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 |