public class FilterFileManager
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getDirectory(java.lang.String sPath)
Returns the directory File for a path.
|
static FilterFileManager |
getInstance() |
static void |
init(int pollingIntervalSeconds,
java.lang.String... directories)
Initialized the GroovyFileManager.
|
static void |
setFilenameFilter(java.io.FilenameFilter filter) |
static void |
shutdown()
Shuts down the poller
|
public static void setFilenameFilter(java.io.FilenameFilter filter)
public static void init(int pollingIntervalSeconds,
java.lang.String... directories)
throws java.lang.Exception,
java.lang.IllegalAccessException,
java.lang.InstantiationException
pollingIntervalSeconds - the polling interval in Secondsdirectories - Any number of paths to directories to be polled may be specifiedjava.io.IOExceptionjava.lang.IllegalAccessExceptionjava.lang.InstantiationExceptionjava.lang.Exceptionpublic static FilterFileManager getInstance()
public static void shutdown()
public java.io.File getDirectory(java.lang.String sPath)
sPath -