public enum MsDosFileAttributes extends Enum<MsDosFileAttributes>
MsDosExternalFileAttributes
.MsDosExternalFileAttributes
Enum Constant and Description |
---|
ARCHIVE |
HIDDEN_FILE |
READ_ONLY |
SUB_DIRECTORY |
SYSTEM_FILE |
VOLUME_LABEL |
Modifier and Type | Field and Description |
---|---|
static Set<MsDosFileAttributes> |
ALL
This constant contains all MS DOS file attributes.
|
Modifier and Type | Method and Description |
---|---|
int |
getEncodedValue()
Get the bit flag value that is used to represent this attribute when
encoded in a Zip entry.
|
String |
toString() |
static MsDosFileAttributes |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MsDosFileAttributes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MsDosFileAttributes READ_ONLY
public static final MsDosFileAttributes HIDDEN_FILE
public static final MsDosFileAttributes SYSTEM_FILE
public static final MsDosFileAttributes VOLUME_LABEL
public static final MsDosFileAttributes SUB_DIRECTORY
public static final MsDosFileAttributes ARCHIVE
public static final Set<MsDosFileAttributes> ALL
public static MsDosFileAttributes[] values()
for (MsDosFileAttributes c : MsDosFileAttributes.values()) System.out.println(c);
public static MsDosFileAttributes valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic int getEncodedValue()
public String toString()
toString
in class Enum<MsDosFileAttributes>