你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NtfsFileAttributes Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. storage. file. share. models. NtfsFileAttributes
- com.
- java.
public enum NtfsFileAttributes
extends Enum<NtfsFileAttributes>
Specifies options for NTFS File Attributes.
Fields
ARCHIVE |
The file is a candidate for backup or removal. |
DIRECTORY |
The file is a directory. |
The file is hidden, and thus is not included in ordinary directory listing. |
|
NORMAL |
The file is a standard file that has no special attributes. |
NOT_CONTENT_INDEXED |
The file will not be indexed by the operating system's content indexing service. |
NO_SCRUB_DATA |
The file or directory is excluded from the data integrity scan. |
OFFLINE |
The file is offline. |
READ_ONLY |
The file is read-only. |
SYSTEM |
The file is a system file. |
TEMPORARY |
The file is temporary. |
Methods inherited from java.lang.Enum
Methods inherited from java.lang.Object
Methods
toAttributes(String ntfsAttributes)
public static EnumSet
Creates an enum set of NtfsFileAttributes
from a valid String .
Parameters
- ntfsAttributes
- String
String
that represents the ntfs attributes. The string must contain one or
more of the following values delimited by a |. Note they are case-sensitive.
ReadOnly
Hidden
System
None
Directory
Archive
Temporary
Offline
NotContentIndexed
NoScrubData
Returns
toString(EnumSet<NtfsFileAttributes> ntfsAttributes)
public static String toString(EnumSet
Converts an enum set of NtfsFileAttributes
to a string.
Parameters
- ntfsAttributes
- EnumSet<NtfsFileAttributes>
Returns
|
which is
described at toAttributes(String ntfsAttributes).