com.fuxi.javaagent.contentobjects.jnotify.linux
Class JNotify_linux

java.lang.Object
  extended by com.fuxi.javaagent.contentobjects.jnotify.linux.JNotify_linux

public class JNotify_linux
extends Object


Field Summary
static int IN_ACCESS
           
static int IN_ALL_EVENT
           
static int IN_ATTRIB
           
static int IN_CLOSE
           
static int IN_CLOSE_NOWRITE
           
static int IN_CLOSE_WRITE
           
static int IN_CREATE
           
static int IN_DELETE
           
static int IN_DELETE_SELF
           
static int IN_IGNORED
           
static int IN_ISDIR
           
static int IN_MODIFY
           
static int IN_MOVE
           
static int IN_MOVE_SELF
           
static int IN_MOVED_FROM
           
static int IN_MOVED_TO
           
static int IN_ONESHOT
           
static int IN_OPEN
           
static int IN_Q_OVERFLOW
           
static int IN_UNMOUNT
           
static List<Observer> list
           
static String msg
           
static boolean WARN
           
 
Constructor Summary
JNotify_linux()
           
 
Method Summary
static int addWatch(String path, int mask)
           
static void notifyObserver()
           
static void registerObserver(Observer o)
           
static void removeWatch(int wd)
           
static void setInfomation(String s)
           
static void setNotifyListener(INotifyListener notifyListener)
           
static void warn(String warning)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WARN

public static boolean WARN

list

public static List<Observer> list

msg

public static String msg

IN_ACCESS

public static final int IN_ACCESS
See Also:
Constant Field Values

IN_MODIFY

public static final int IN_MODIFY
See Also:
Constant Field Values

IN_ATTRIB

public static final int IN_ATTRIB
See Also:
Constant Field Values

IN_CLOSE_WRITE

public static final int IN_CLOSE_WRITE
See Also:
Constant Field Values

IN_CLOSE_NOWRITE

public static final int IN_CLOSE_NOWRITE
See Also:
Constant Field Values

IN_OPEN

public static final int IN_OPEN
See Also:
Constant Field Values

IN_MOVED_FROM

public static final int IN_MOVED_FROM
See Also:
Constant Field Values

IN_MOVED_TO

public static final int IN_MOVED_TO
See Also:
Constant Field Values

IN_CREATE

public static final int IN_CREATE
See Also:
Constant Field Values

IN_DELETE

public static final int IN_DELETE
See Also:
Constant Field Values

IN_DELETE_SELF

public static final int IN_DELETE_SELF
See Also:
Constant Field Values

IN_MOVE_SELF

public static final int IN_MOVE_SELF
See Also:
Constant Field Values

IN_UNMOUNT

public static final int IN_UNMOUNT
See Also:
Constant Field Values

IN_Q_OVERFLOW

public static final int IN_Q_OVERFLOW
See Also:
Constant Field Values

IN_IGNORED

public static final int IN_IGNORED
See Also:
Constant Field Values

IN_CLOSE

public static final int IN_CLOSE
See Also:
Constant Field Values

IN_MOVE

public static final int IN_MOVE
See Also:
Constant Field Values

IN_ISDIR

public static final int IN_ISDIR
See Also:
Constant Field Values

IN_ONESHOT

public static final int IN_ONESHOT
See Also:
Constant Field Values

IN_ALL_EVENT

public static final int IN_ALL_EVENT
See Also:
Constant Field Values
Constructor Detail

JNotify_linux

public JNotify_linux()
Method Detail

registerObserver

public static void registerObserver(Observer o)

notifyObserver

public static void notifyObserver()

setInfomation

public static void setInfomation(String s)

addWatch

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

removeWatch

public static void removeWatch(int wd)
                        throws JNotifyException
Throws:
JNotifyException

setNotifyListener

public static void setNotifyListener(INotifyListener notifyListener)

warn

public static void warn(String warning)


Copyright © 2018. All rights reserved.