| java.lang.Object org.gjt.sp.jedit.io.VFS org.gjt.sp.jedit.io.FileVFS
FileVFS | public class FileVFS extends VFS (Code) | | Local filesystem VFS.
author: Slava Pestov version: $Id: FileVFS.java 10789 2007-10-03 01:18:48Z Vampire0 $ |
Inner Class :public static class LocalFile extends VFSFile | |
Constructor Summary | |
public | FileVFS() |
Method Summary | |
public void | _backup(Object session, String path, Component comp) | public String | _canonPath(Object session, String path, Component comp) Returns the canonical form if the specified path name. | public InputStream | _createInputStream(Object session, String path, boolean ignoreErrors, Component comp) | public OutputStream | _createOutputStream(Object session, String path, Component comp) | public boolean | _delete(Object session, String path, Component comp) | public VFSFile | _getFile(Object session, String path, Component comp) | public VFSFile[] | _listFiles(Object session, String path, Component comp) | public boolean | _mkdir(Object session, String directory, Component comp) | public boolean | _rename(Object session, String from, String to, Component comp) | public void | _saveComplete(Object session, Buffer buffer, String path, Component comp) | public String | constructPath(String parent, String path) | public char | getFileSeparator() | public String | getParentOfPath(String path) | public static int | getPermissions(String path) Returns numeric permissions of a file. | public String | getTwoStageSaveName(String path) Returns a temporary file name based on the given path. | public boolean | insert(View view, Buffer buffer, String path) | public static boolean | recursiveDelete(File path) | public boolean | save(View view, Buffer buffer, String path) | public static void | setPermissions(String path, int permissions) Sets numeric permissions of a file. |
PERMISSIONS_PROPERTY | final public static String PERMISSIONS_PROPERTY(Code) | | |
_canonPath | public String _canonPath(Object session, String path, Component comp) throws IOException(Code) | | Returns the canonical form if the specified path name. For example,
~ might be expanded to the user's home directory.
Parameters: session - The session Parameters: path - The path Parameters: comp - The component that will parent error dialog boxes exception: IOException - if an I/O error occurred since: jEdit 4.0pre2 |
getFileSeparator | public char getFileSeparator()(Code) | | |
getPermissions | public static int getPermissions(String path)(Code) | | Returns numeric permissions of a file. On non-Unix systems, always
returns zero.
since: jEdit 3.2pre9 |
getTwoStageSaveName | public String getTwoStageSaveName(String path)(Code) | | Returns a temporary file name based on the given path.
If the directory where the file would be created cannot be
written (i.e., no new files can be created in that directory),
this method returns null .
Parameters: path - The path name |
recursiveDelete | public static boolean recursiveDelete(File path)(Code) | | #
Parameters: path - the directory path to recursive delete true if successful, else false |
setPermissions | public static void setPermissions(String path, int permissions)(Code) | | Sets numeric permissions of a file. On non-Unix platforms,
does nothing.
since: jEdit 3.2pre9 |
Methods inherited from org.gjt.sp.jedit.io.VFS | public void _backup(Object session, String path, Component comp) throws IOException(Code)(Java Doc) public String _canonPath(Object session, String path, Component comp) throws IOException(Code)(Java Doc) public InputStream _createInputStream(Object session, String path, boolean ignoreErrors, Component comp) throws IOException(Code)(Java Doc) public OutputStream _createOutputStream(Object session, String path, Component comp) throws IOException(Code)(Java Doc) public boolean _delete(Object session, String path, Component comp) throws IOException(Code)(Java Doc) public void _endVFSSession(Object session, Component comp) throws IOException(Code)(Java Doc) public void _finishTwoStageSave(Object session, Buffer buffer, String path, Component comp) throws IOException(Code)(Java Doc) public DirectoryEntry _getDirectoryEntry(Object session, String path, Component comp) throws IOException(Code)(Java Doc) public VFSFile _getFile(Object session, String path, Component comp) throws IOException(Code)(Java Doc) public String[] _listDirectory(Object session, String directory, String glob, boolean recursive, Component comp) throws IOException(Code)(Java Doc) public String[] _listDirectory(Object session, String directory, String glob, boolean recursive, Component comp, boolean skipBinary, boolean skipHidden) throws IOException(Code)(Java Doc) public String[] _listDirectory(Object session, String directory, VFSFileFilter filter, boolean recursive, Component comp, boolean skipBinary, boolean skipHidden) throws IOException(Code)(Java Doc) public DirectoryEntry[] _listDirectory(Object session, String directory, Component comp) throws IOException(Code)(Java Doc) public VFSFile[] _listFiles(Object session, String directory, Component comp) throws IOException(Code)(Java Doc) public boolean _mkdir(Object session, String directory, Component comp) throws IOException(Code)(Java Doc) public boolean _rename(Object session, String from, String to, Component comp) throws IOException(Code)(Java Doc) public void _saveComplete(Object session, Buffer buffer, String path, Component comp) throws IOException(Code)(Java Doc) public String constructPath(String parent, String path)(Code)(Java Doc) public static boolean copy(ProgressObserver progress, VFS sourceVFS, Object sourceSession, String sourcePath, VFS targetVFS, Object targetSession, String targetPath, Component comp, boolean canStop) throws IOException(Code)(Java Doc) public static boolean copy(ProgressObserver progress, String sourcePath, String targetPath, Component comp, boolean canStop) throws IOException(Code)(Java Doc) public Object createVFSSession(String path, Component comp)(Code)(Java Doc) public int getCapabilities()(Code)(Java Doc) public static Color getDefaultColorFor(String name)(Code)(Java Doc) public String[] getExtendedAttributes()(Code)(Java Doc) public String getFileName(String path)(Code)(Java Doc) public char getFileSeparator()(Code)(Java Doc) public String getName()(Code)(Java Doc) public String getParentOfPath(String path)(Code)(Java Doc) public String getTwoStageSaveName(String path)(Code)(Java Doc) public boolean insert(View view, Buffer buffer, String path)(Code)(Java Doc) public boolean isMarkersFileSupported()(Code)(Java Doc) public boolean load(View view, Buffer buffer, String path)(Code)(Java Doc) public void reloadDirectory(String path)(Code)(Java Doc) public boolean save(View view, Buffer buffer, String path)(Code)(Java Doc) public String showBrowseDialog(Object[] session, Component comp)(Code)(Java Doc)
|
|
|