NtfsAttributes Enum

  • java.lang.Object
    • java.lang.Enum<NtfsAttributes>
      • com.microsoft.azure.storage.file.NtfsAttributes

public enum NtfsAttributes

Specifies options for NTFS Attributes.

Fields

ARCHIVE

The file is a candidate for backup or removal.

DIRECTORY

The file is a directory.

HIDDEN

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.

OFFLINE

The file is offline. The data of the file is not immediately available.

READ_ONLY

The file is read-only.

SYSTEM

The file is a system file. That is, the file is part of the operating system or is used exclusively by the operating system.

TEMPORARY

The file is temporary. A temporary file contains data that is needed while an application is executing but is not needed after the application is finished. File systems try to keep all the data in memory for quicker access rather than flushing the data back to mass storage. A temporary file should be deleted by the application as soon as it is no longer needed.

Inherited Members

com.microsoft.azure.storage.file._ntfs_attributes_1a454fa3c83503d635ee1bbfef4e0c48b4

Methods

toAttributes(String ntfsAttributes)

public static EnumSet toAttributes(String ntfsAttributes)

Creates an enum set ofNtfsAttributes 

</code> from a valid String .</p>

Parameters

ntfsAttributes
String
A 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

EnumSet<NtfsAttributes>

toString(EnumSet<NtfsAttributes> ntfsAttributes)

public static String toString(EnumSet ntfsAttributes)

Converts an enum set ofNtfsAttributes 

</code> to a string.</p>

Parameters

ntfsAttributes
EnumSet<NtfsAttributes>

Returns

String
A String that represents the NTFS Attributes in the correct format delimited by | which is described at toAttributes(String ntfsAttributes).

Applies to