Servertec
Foundation Classes
1.3.3 09/04/2005

stec.sfc.Win32
Class CreateFileAttribute

java.lang.Object
  extended by stec.sfc.Win32.FileAttribute
      extended by stec.sfc.Win32.CreateFileAttribute

public final class CreateFileAttribute
extends FileAttribute

File attributes used when the RandomAccessFile is being created.

Since:
1.0.0 01/07/2001

Field Summary
static int DELETE_ON_CLOSE
          Delete file after all handles have been closed.
static int NO_BUFFERING
          Opens file without buffering.
static int RANDOM_ACCESS
          Opens file optimized for random access.
static int SEQUENTIAL_SCAN
          Opens file optimized for sequential access.
static int WRITE_THROUGH
          Write directly to disk.
 
Fields inherited from class stec.sfc.Win32.FileAttribute
ARCHIVE, COMPRESSED, DIRECTORY, ENCRYPTED, HIDDEN, NORMAL, NOT_CONTENT_INDEXED, OFFLINE, READONLY, REPARSE_POINT, SPARSE_FILE, SYSTEM, TEMPORARY
 
Constructor Summary
CreateFileAttribute()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WRITE_THROUGH

public static final int WRITE_THROUGH
Write directly to disk.

Set to FILE_FLAG_WRITE_THROUGH.


NO_BUFFERING

public static final int NO_BUFFERING
Opens file without buffering.

Set to FILE_FLAG_NO_BUFFERING.


RANDOM_ACCESS

public static final int RANDOM_ACCESS
Opens file optimized for random access.

Set to FILE_FLAG_RANDOM_ACCESS.


SEQUENTIAL_SCAN

public static final int SEQUENTIAL_SCAN
Opens file optimized for sequential access.

Set to FILE_FLAG_SEQUENTIAL_SCAN.


DELETE_ON_CLOSE

public static final int DELETE_ON_CLOSE
Delete file after all handles have been closed.

Set to FILE_FLAG_DELETE_ON_CLOSE.

Constructor Detail

CreateFileAttribute

public CreateFileAttribute()

Servertec
Foundation Classes
1.3.3 09/04/2005

Copyright © 2001-2005 Servertec. All rights reserved.