com.jniwrapper.win32.io
Class FileSystem.FileAttributes

java.lang.Object
  extended bycom.jniwrapper.util.FlagSet
      extended bycom.jniwrapper.win32.io.FileSystem.FileAttributes
Enclosing class:
FileSystem

public static class FileSystem.FileAttributes
extends com.jniwrapper.util.FlagSet

FileAttributes class represents a set of file attributes.


Field Summary
static int ARCHIVE
          The file or directory that is an archive.
static int COMPRESSED
          The file or directory is compressed.
static int DIRECTORY
          The handle that identifies a directory.
static int ENCRYPTED
          The file or directory that is encrypted.
static int HIDDEN
          The file or directory is hidden.
static int NORMAL
          The file or directory does not have other attributes set.
static int NOT_CONTENT_INDEXED
          The file is not to be indexed by the content indexing service.
static int OFFLINE
          The data of a file is not available immediately.
static int READONLY
          The file or directory is read-only.
static int REPARSE_POINT
          The file or directory has an associated reparse point
static int SPARSE_FILE
          The file is a sparse file.
static int SYSTEM
          The file or directory that the operating system uses a part of, or uses exclusively.
static int TEMPORARY
          The file is used for temporary storage.
 
Constructor Summary
FileSystem.FileAttributes(long flags)
           
 
Method Summary
 boolean isArchive()
           
 boolean isHidden()
           
 boolean isReadOnly()
           
 boolean isSystem()
           
 
Methods inherited from class com.jniwrapper.util.FlagSet
add, and, clear, contains, getBit, getBits, getFlags, getMask, or, remove, setBit, setBits, setupFlag, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

READONLY

public static final int READONLY
The file or directory is read-only.

See Also:
Constant Field Values

HIDDEN

public static final int HIDDEN
The file or directory is hidden.

See Also:
Constant Field Values

SYSTEM

public static final int SYSTEM
The file or directory that the operating system uses a part of, or uses exclusively.

See Also:
Constant Field Values

DIRECTORY

public static final int DIRECTORY
The handle that identifies a directory.

See Also:
Constant Field Values

ARCHIVE

public static final int ARCHIVE
The file or directory that is an archive.

See Also:
Constant Field Values

ENCRYPTED

public static final int ENCRYPTED
The file or directory that is encrypted.

See Also:
Constant Field Values

NORMAL

public static final int NORMAL
The file or directory does not have other attributes set.

See Also:
Constant Field Values

TEMPORARY

public static final int TEMPORARY
The file is used for temporary storage.

See Also:
Constant Field Values

SPARSE_FILE

public static final int SPARSE_FILE
The file is a sparse file.

See Also:
Constant Field Values

REPARSE_POINT

public static final int REPARSE_POINT
The file or directory has an associated reparse point

See Also:
Constant Field Values

COMPRESSED

public static final int COMPRESSED
The file or directory is compressed.

See Also:
Constant Field Values

OFFLINE

public static final int OFFLINE
The data of a file is not available immediately.

See Also:
Constant Field Values

NOT_CONTENT_INDEXED

public static final int NOT_CONTENT_INDEXED
The file is not to be indexed by the content indexing service.

See Also:
Constant Field Values
Constructor Detail

FileSystem.FileAttributes

public FileSystem.FileAttributes(long flags)
Method Detail

isReadOnly

public boolean isReadOnly()

isArchive

public boolean isArchive()

isSystem

public boolean isSystem()

isHidden

public boolean isHidden()