FileSystemSvc Class
- public class FileSystemSvc
extends Object
-
Hierarchy
-
Object
FileSystemSvc
public static interface | FileSystemSvc.I
This service keeps a list of all the files of interest to the filesystem and will
generate notifications of changes to those files to interested listeners. |
public static interface | FileSystemSvc.IAdvanced
This interface contains methods that are not normally used; mostly they
are used by the FileSvc to control the firing and type of FileSystem events.
|
public static interface | FileSystemSvc.ISynchronizeComplete
This interface is used by the synchronize method to allow callers to periodically check for changes. |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EVENT_SYNCHRONIZE
public static final String
EVENT_SYNCHRONIZE
- This is an Application level event that can be used to cause the file system service to
synchronize. Note that it will have no effect if the underlying platform does not use
a background task to synchronize periodically (ex. Windows uses native OS APIs to detect
changes immediately).
instance
protected static FileSystemSvc.IAdvanced
instance
UNKNOWN_CHANGES_URI
public static final URI
UNKNOWN_CHANGES_URI
- This URI should be used to in start/finishChangeInternally when the URI is not known. This
can be used to block external changes temporarily, which can later be resumed. At anytime before
corresponding finishChangeInternally for this URI, start/finish pairs can be called with valid URIs
in order to have events sent for them.
FileSystemSvc
public FileSystemSvc()
get() Method
public static FileSystemSvc.I
get()
getAdvanced() Method
public static FileSystemSvc.IAdvanced
getAdvanced()