|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jniwrapper.util.FlagSet
com.jniwrapper.win32.io.FileSystemWatcher.WatcherOptions
WatcherOptions class determines a set of properties to configure
the behavior of FileSystemWatcher.
| Field Summary | |
static int |
NOTIFY_CHANGE_ATTRIBUTES
The value of an attribute of this file, such as last access time, has changed. |
static int |
NOTIFY_CHANGE_CREATION
The creation time of this file has changed. |
static int |
NOTIFY_CHANGE_DIR_NAME
A subdirectory has been created, removed, or renamed. |
static int |
NOTIFY_CHANGE_FILE_NAME
A file has been added, deleted, or renamed in this directory. |
static int |
NOTIFY_CHANGE_LAST_ACCESS
The last access time of this file has changed. |
static int |
NOTIFY_CHANGE_LAST_WRITE
The last modification time of this file has changed. |
static int |
NOTIFY_CHANGE_SECURITY
The security information of this file has changed. |
static int |
NOTIFY_CHANGE_SIZE
The value of an attribute of this file, such as last access time, has changed. |
| Constructor Summary | |
FileSystemWatcher.WatcherOptions()
Creates instance of the WatcherOptions |
|
| Method Summary | |
boolean |
isNotifyChangeAttributes()
Returns the value of the NOTIFY_CHANGE_ATTRIBUTES flag |
boolean |
isNotifyChangeDirName()
Returns the value of the NOTIFY_CHANGE_DIR_NAME flag |
boolean |
isNotifyChangeFileName()
Returns the value of the NOTIFY_CHANGE_FILE_NAME flag |
boolean |
isNotifyChangeSize()
Returns the value of the NOTIFY_CHANGE_SIZE flag |
boolean |
isNotifyLastAccess()
Returns the value of the NOTIFY_CHANGE_LAST_ACCESS flag |
boolean |
isNotifyLastModified()
Returns the value of the NOTIFY_CHANGE_LAST_WRITE flag |
void |
reset()
Sets default values |
void |
setNotifyChangeAttributes(boolean value)
Sets the value of the NOTIFY_CHANGE_ATTRIBUTES flag |
void |
setNotifyChangeDirName(boolean value)
Sets the value of the NOTIFY_CHANGE_DIR_NAME flag |
void |
setNotifyChangeFileName(boolean value)
Sets the value of the NOTIFY_CHANGE_FILE_NAME flag |
void |
setNotifyChangeSize(boolean value)
Sets the value of the NOTIFY_CHANGE_SIZE flag |
void |
setNotifyLastAccess(boolean value)
Sets the value of the NOTIFY_CHANGE_LAST_ACCESS flag |
void |
setNotifyLastModified(boolean value)
Sets the value of the NOTIFY_CHANGE_LAST_WRITE flag |
| 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 |
public static final int NOTIFY_CHANGE_FILE_NAME
public static final int NOTIFY_CHANGE_DIR_NAME
public static final int NOTIFY_CHANGE_ATTRIBUTES
public static final int NOTIFY_CHANGE_SIZE
public static final int NOTIFY_CHANGE_LAST_WRITE
public static final int NOTIFY_CHANGE_LAST_ACCESS
public static final int NOTIFY_CHANGE_CREATION
public static final int NOTIFY_CHANGE_SECURITY
| Constructor Detail |
public FileSystemWatcher.WatcherOptions()
WatcherOptions
| Method Detail |
public void reset()
public boolean isNotifyChangeFileName()
NOTIFY_CHANGE_FILE_NAME flag
NOTIFY_CHANGE_FILE_NAME flagpublic void setNotifyChangeFileName(boolean value)
NOTIFY_CHANGE_FILE_NAME flag
value - The value of the NOTIFY_CHANGE_FILE_NAME flagpublic boolean isNotifyChangeDirName()
NOTIFY_CHANGE_DIR_NAME flag
NOTIFY_CHANGE_DIR_NAME flagpublic void setNotifyChangeDirName(boolean value)
NOTIFY_CHANGE_DIR_NAME flag
value - The value of the NOTIFY_CHANGE_DIR_NAME flagpublic boolean isNotifyChangeAttributes()
NOTIFY_CHANGE_ATTRIBUTES flag
NOTIFY_CHANGE_ATTRIBUTES flagpublic void setNotifyChangeAttributes(boolean value)
NOTIFY_CHANGE_ATTRIBUTES flag
value - The value of the NOTIFY_CHANGE_ATTRIBUTES flagpublic boolean isNotifyChangeSize()
NOTIFY_CHANGE_SIZE flag
NOTIFY_CHANGE_SIZE flagpublic void setNotifyChangeSize(boolean value)
NOTIFY_CHANGE_SIZE flag
value - The value of the NOTIFY_CHANGE_SIZE flagpublic boolean isNotifyLastModified()
NOTIFY_CHANGE_LAST_WRITE flag
NOTIFY_CHANGE_LAST_WRITE flagpublic void setNotifyLastModified(boolean value)
NOTIFY_CHANGE_LAST_WRITE flag
value - The value of the NOTIFY_CHANGE_LAST_WRITE flagpublic boolean isNotifyLastAccess()
NOTIFY_CHANGE_LAST_ACCESS flag
NOTIFY_CHANGE_LAST_ACCESS flagpublic void setNotifyLastAccess(boolean value)
NOTIFY_CHANGE_LAST_ACCESS flag
value - The value of the NOTIFY_CHANGE_LAST_ACCESS flag
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||