Servertec
Foundation Classes
1.3.3 09/04/2005

stec.sfc.Win32
Class FileAttribute

java.lang.Object
  extended by stec.sfc.Win32.FileAttribute
Direct Known Subclasses:
CreateFileAttribute

public class FileAttribute
extends java.lang.Object

File attributes used by RandomAccessFile, File.getAttributes(), File.setAttributes() and FileEnumerator.getAttributes().

Since:
1.0.0 01/07/2001

Field Summary
static int ARCHIVE
          Archive object.
static int COMPRESSED
          Object is compressed.
static int DIRECTORY
          Object is a directory.
static int ENCRYPTED
          Object is encrypted.
static int HIDDEN
          Object is hidden.
static int NORMAL
          Object is a normal object.
static int NOT_CONTENT_INDEXED
          Object is to be indexed.
static int OFFLINE
          Object is offline and not accessible.
static int READONLY
          Object is read only.
static int REPARSE_POINT
          Object exhibits NTFS reparse point.
static int SPARSE_FILE
          Object is a sparse object.
static int SYSTEM
          Object is a system object.
static int TEMPORARY
          Object is a temporary object.
 
Constructor Summary
FileAttribute()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ARCHIVE

public static final int ARCHIVE
Archive object.

Set to FILE_ATTRIBUTE_ARCHIVE.


COMPRESSED

public static final int COMPRESSED
Object is compressed.

Can only be used with File.getAttributes().

Set to FILE_ATTRIBUTE_COMPRESSED.


DIRECTORY

public static final int DIRECTORY
Object is a directory.

Can only be used with File.getAttributes().

Set to FILE_ATTRIBUTE_DIRECTORY.


ENCRYPTED

public static final int ENCRYPTED
Object is encrypted.

Can only be used with File.getAttributes().

Set to FILE_ATTRIBUTE_ENCRYPTED.


HIDDEN

public static final int HIDDEN
Object is hidden.

Set to FILE_ATTRIBUTE_HIDDEN.


NORMAL

public static final int NORMAL
Object is a normal object.

Set to FILE_ATTRIBUTE_NORMAL.


NOT_CONTENT_INDEXED

public static final int NOT_CONTENT_INDEXED
Object is to be indexed.

Set to FILE_ATTRIBUTE_NOT_CONTENT_INDEXED.


OFFLINE

public static final int OFFLINE
Object is offline and not accessible.

Set to FILE_ATTRIBUTE_OFFLINE.


READONLY

public static final int READONLY
Object is read only.

Set to FILE_ATTRIBUTE_READONLY.


REPARSE_POINT

public static final int REPARSE_POINT
Object exhibits NTFS reparse point.

Can only be used with File.getAttributes().

Set to FILE_ATTRIBUTE_REPARSE_POINT.


SPARSE_FILE

public static final int SPARSE_FILE
Object is a sparse object.

Can only be used with File.getAttributes().

Set to FILE_ATTRIBUTE_SPARSE_FILE.


SYSTEM

public static final int SYSTEM
Object is a system object.

Set to FILE_ATTRIBUTE_SYSTEM.


TEMPORARY

public static final int TEMPORARY
Object is a temporary object.

Set to FILE_ATTRIBUTE_TEMPORARY.

Constructor Detail

FileAttribute

public FileAttribute()

Servertec
Foundation Classes
1.3.3 09/04/2005

Copyright © 2001-2005 Servertec. All rights reserved.