com.fuxi.javaagent.contentobjects.jnotify
Class JNotify

java.lang.Object
  extended by com.fuxi.javaagent.contentobjects.jnotify.JNotify

public class JNotify
extends Object


Field Summary
static int FILE_ANY
           
static int FILE_CREATED
           
static int FILE_DELETED
           
static int FILE_MODIFIED
           
static int FILE_RENAMED
           
 
Constructor Summary
JNotify()
           
 
Method Summary
static int addWatch(String path, int mask, boolean watchSubtree, JNotifyListener listener)
           
static void init(String releasePath, Observer observer)
           
static boolean removeWatch(int watchId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILE_CREATED

public static final int FILE_CREATED
See Also:
Constant Field Values

FILE_DELETED

public static final int FILE_DELETED
See Also:
Constant Field Values

FILE_MODIFIED

public static final int FILE_MODIFIED
See Also:
Constant Field Values

FILE_RENAMED

public static final int FILE_RENAMED
See Also:
Constant Field Values

FILE_ANY

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

JNotify

public JNotify()
Method Detail

init

public static void init(String releasePath,
                        Observer observer)

addWatch

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

removeWatch

public static boolean removeWatch(int watchId)
                           throws JNotifyException
Throws:
JNotifyException


Copyright © 2018. All rights reserved.