|
Servertec Foundation Classes 1.3.3 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectstec.sfc.Win32.FileMoveMode
public final class FileMoveMode
Drive type returned by FileSystem.html.move() and File.html.move().
Field Summary | |
---|---|
static int |
COPY
Copy is allowed. |
static int |
CREATE_HARDLINK
Create a hard link. |
static int |
DELAY_UNTIL_REBOOT
Move the file when the operating system is restarted. |
static int |
FAIL_IF_NOT_TRACKABLE
The move fails if the source file is a link and the destination cannot be tracked because it is on a FAT file system. |
static int |
REPLACE_EXISTING
Overwrite any existing file. |
static int |
WRITE_THROUGH
Roadblocks the move operation until it completes. |
Constructor Summary | |
---|---|
FileMoveMode()
|
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int COPY
The source file is copied to the destination and then the source file is deleted.
Set to MOVEFILE_COPY_ALLOWED.
public static final int CREATE_HARDLINK
Reserved for future use.
Set to MOVEFILE_CREATE_HARDLINK.
public static final int DELAY_UNTIL_REBOOT
If destination is NULL the source file is deleted.
The source file cannot be read-only.
The process using this file mode must be an Administrator or the LocalSystem account.
DELAY_UNTIL_REBOOT cannot be used with COPY.
Set to MOVEFILE_DELAY_UNTIL_REBOOT.
public static final int FAIL_IF_NOT_TRACKABLE
Windows 2000 only.
Set to MOVEFILE_FAIL_IF_NOT_TRACKABLE.
public static final int REPLACE_EXISTING
REPLACE_EXISTING cannot be used if the destination is a directory.
Set to MOVEFILE_REPLACE_EXISTING.
public static final int WRITE_THROUGH
Guarantees that a move performed as a copy and delete operation is flushed to disk before the method returns.
Set to MOVEFILE_WRITE_THROUGH.
Constructor Detail |
---|
public FileMoveMode()
|
Servertec Foundation Classes 1.3.3 09/04/2005 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001-2005 Servertec. All rights reserved.