EnumWithValue<FileAttributes>public enum FileAttributes extends java.lang.Enum<FileAttributes> implements EnumWithValue<FileAttributes>
EnumWithValue.EnumUtils| Enum Constant | Description |
|---|---|
FILE_ATTRIBUTE_ARCHIVE |
A file or directory that requires to be archived.
|
FILE_ATTRIBUTE_COMPRESSED |
A file or directory that is compressed.
|
FILE_ATTRIBUTE_DIRECTORY |
This item is a directory.
|
FILE_ATTRIBUTE_ENCRYPTED |
A file or directory that is encrypted.
|
FILE_ATTRIBUTE_HIDDEN |
A file or directory that is hidden.
|
FILE_ATTRIBUTE_INTEGRITY_STREAM |
A file or directory that is configured with integrity support.
|
FILE_ATTRIBUTE_NO_SCRUB_DATA |
A file or directory that is configured to be excluded from the data integrity scan.
|
FILE_ATTRIBUTE_NORMAL |
A file that does not have other attributes set.
|
FILE_ATTRIBUTE_NOT_CONTENT_INDEXED |
A file or directory that is not indexed by the content indexing service.
|
FILE_ATTRIBUTE_OFFLINE |
The data in this file is not available immediately.
|
FILE_ATTRIBUTE_READONLY |
A file or directory that is read-only.
|
FILE_ATTRIBUTE_REPARSE_POINT |
A file or directory that has an associated reparse point.
|
FILE_ATTRIBUTE_SPARSE_FILE |
A file that is a sparse file.
|
FILE_ATTRIBUTE_SYSTEM |
A file or directory that the operating system uses a part of or uses exclusively.
|
FILE_ATTRIBUTE_TEMPORARY |
A file that is being used for temporary storage.
|
| Modifier and Type | Method | Description |
|---|---|---|
long |
getValue() |
|
static FileAttributes |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static FileAttributes[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileAttributes FILE_ATTRIBUTE_ARCHIVE
public static final FileAttributes FILE_ATTRIBUTE_COMPRESSED
public static final FileAttributes FILE_ATTRIBUTE_DIRECTORY
public static final FileAttributes FILE_ATTRIBUTE_ENCRYPTED
public static final FileAttributes FILE_ATTRIBUTE_HIDDEN
public static final FileAttributes FILE_ATTRIBUTE_NORMAL
public static final FileAttributes FILE_ATTRIBUTE_NOT_CONTENT_INDEXED
public static final FileAttributes FILE_ATTRIBUTE_OFFLINE
public static final FileAttributes FILE_ATTRIBUTE_READONLY
public static final FileAttributes FILE_ATTRIBUTE_REPARSE_POINT
public static final FileAttributes FILE_ATTRIBUTE_SPARSE_FILE
public static final FileAttributes FILE_ATTRIBUTE_SYSTEM
public static final FileAttributes FILE_ATTRIBUTE_TEMPORARY
public static final FileAttributes FILE_ATTRIBUTE_INTEGRITY_STREAM
public static final FileAttributes FILE_ATTRIBUTE_NO_SCRUB_DATA
public static FileAttributes[] values()
for (FileAttributes c : FileAttributes.values()) System.out.println(c);
public static FileAttributes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic long getValue()
getValue in interface EnumWithValue<FileAttributes>