FileSvc Class
- public class FileSvc
extends Object
This class provides a general service to operate on "files". In the IDE a "file" is an abstract object
that lives in some persisted for somewhere. Files are described by URIs. The interface to a file is an
IFile
. The file service supports methods to return implementations of the IFile interface for
objects given a URI.
In addition, it supports numerous other methods related to manipulation of IFile objects and URIs including
- moving
- copying
- saving
- reading
- deleting
- creation
- name validation
- etc...
-
Hierarchy
-
Object
FileSvc
public static interface | FileSvc.FileSvcState
Marker interface used on the state object for file system events generated by operations in the FileSvc. |
public static interface | FileSvc.I
|
public static interface | FileSvc.IFileSaver
The file saver interface provides a safe, atomic mechanism for saving files. |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
instance
protected static FileSvc.I
instance
REFRESH_STATUS_CANCEL
public static final int REFRESH_STATUS_CANCEL
- Return value from refreshFileDialog methods. Indicates the user cancelled the reload.
REFRESH_STATUS_RELOAD
public static final int REFRESH_STATUS_RELOAD
- Return value from the refreshFileDialog methods. Indicates the user requested the reload option.
REFRESH_STATUS_SAVE
public static final int REFRESH_STATUS_SAVE
- Return value from refreshFileDialog methods. Indicates the user requested the save option.
FileSvc
public FileSvc()
get() Method
public static FileSvc.I
get()