FileSvc Class

com.bea.ide.filesystem
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


Hierarchy
Object
  FileSvc

Nested Class Summary

public static interfaceFileSvc.FileSvcState
           Marker interface used on the state object for file system events generated by operations in the FileSvc.
public static interfaceFileSvc.I
public static interfaceFileSvc.IFileSaver
           The file saver interface provides a safe, atomic mechanism for saving files.

Field Summary

protected static FileSvc.I
instance
FileSvc.I
public static final int
REFRESH_STATUS_CANCEL
Return value from refreshFileDialog methods.
public static final int
REFRESH_STATUS_RELOAD
Return value from the refreshFileDialog methods.
public static final int
REFRESH_STATUS_SAVE
Return value from refreshFileDialog methods.
 

Constructor Summary

FileSvc()

 

Method Summary

public static FileSvc.I
get()
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   

Field Detail

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.

 

Constructor Detail

FileSvc

public FileSvc()
 

Method Detail

get() Method

public static FileSvc.I get()