com.fuxi.javaagent.contentobjects.jnotify.win32
Class JNotify_win32

java.lang.Object
  extended by com.fuxi.javaagent.contentobjects.jnotify.win32.JNotify_win32

public class JNotify_win32
extends Object


Field Summary
static int FILE_ACTION_ADDED
           
static int FILE_ACTION_MODIFIED
           
static int FILE_ACTION_REMOVED
           
static int FILE_ACTION_RENAMED_NEW_NAME
           
static int FILE_ACTION_RENAMED_OLD_NAME
           
static int FILE_NOTIFY_CHANGE_ATTRIBUTES
           
static int FILE_NOTIFY_CHANGE_CREATION
           
static int FILE_NOTIFY_CHANGE_DIR_NAME
           
static int FILE_NOTIFY_CHANGE_FILE_NAME
           
static int FILE_NOTIFY_CHANGE_LAST_ACCESS
           
static int FILE_NOTIFY_CHANGE_LAST_WRITE
           
static int FILE_NOTIFY_CHANGE_SECURITY
           
static int FILE_NOTIFY_CHANGE_SIZE
           
static List<Observer> list
           
static String msg
           
 
Constructor Summary
JNotify_win32()
           
 
Method Summary
static int addWatch(String path, long mask, boolean watchSubtree)
           
static void callbackProcessEvent(int wd, int action, String rootPath, String filePath)
           
static void notifyObserver()
           
static void registerObserver(Observer o)
           
static void removeWatch(int wd)
           
static void setInfomation(int error)
           
static void setNotifyListener(IWin32NotifyListener notifyListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_NOTIFY_CHANGE_FILE_NAME

public static final int FILE_NOTIFY_CHANGE_FILE_NAME
See Also:
Constant Field Values

FILE_NOTIFY_CHANGE_DIR_NAME

public static final int FILE_NOTIFY_CHANGE_DIR_NAME
See Also:
Constant Field Values

FILE_NOTIFY_CHANGE_ATTRIBUTES

public static final int FILE_NOTIFY_CHANGE_ATTRIBUTES
See Also:
Constant Field Values

FILE_NOTIFY_CHANGE_SIZE

public static final int FILE_NOTIFY_CHANGE_SIZE
See Also:
Constant Field Values

FILE_NOTIFY_CHANGE_LAST_WRITE

public static final int FILE_NOTIFY_CHANGE_LAST_WRITE
See Also:
Constant Field Values

FILE_NOTIFY_CHANGE_LAST_ACCESS

public static final int FILE_NOTIFY_CHANGE_LAST_ACCESS
See Also:
Constant Field Values

FILE_NOTIFY_CHANGE_CREATION

public static final int FILE_NOTIFY_CHANGE_CREATION
See Also:
Constant Field Values

FILE_NOTIFY_CHANGE_SECURITY

public static final int FILE_NOTIFY_CHANGE_SECURITY
See Also:
Constant Field Values

FILE_ACTION_ADDED

public static final int FILE_ACTION_ADDED
See Also:
Constant Field Values

FILE_ACTION_REMOVED

public static final int FILE_ACTION_REMOVED
See Also:
Constant Field Values

FILE_ACTION_MODIFIED

public static final int FILE_ACTION_MODIFIED
See Also:
Constant Field Values

FILE_ACTION_RENAMED_OLD_NAME

public static final int FILE_ACTION_RENAMED_OLD_NAME
See Also:
Constant Field Values

FILE_ACTION_RENAMED_NEW_NAME

public static final int FILE_ACTION_RENAMED_NEW_NAME
See Also:
Constant Field Values

list

public static List<Observer> list

msg

public static String msg
Constructor Detail

JNotify_win32

public JNotify_win32()
Method Detail

registerObserver

public static void registerObserver(Observer o)

notifyObserver

public static void notifyObserver()

setInfomation

public static void setInfomation(int error)

addWatch

public static int addWatch(String path,
                           long mask,
                           boolean watchSubtree)
                    throws JNotifyException
Throws:
JNotifyException

removeWatch

public static void removeWatch(int wd)

callbackProcessEvent

public static void callbackProcessEvent(int wd,
                                        int action,
                                        String rootPath,
                                        String filePath)

setNotifyListener

public static void setNotifyListener(IWin32NotifyListener notifyListener)


Copyright © 2018. All rights reserved.