public class UrlVFS extends VFS
VFS.DirectoryEntryCompareBROWSE_CAP, CASE_INSENSITIVE_CAP, DELETE_CAP, EA_MODIFIED, EA_SIZE, EA_STATUS, EA_TYPE, IOBUFSIZE, LOW_LATENCY_CAP, MKDIR_CAP, NON_AWT_SESSION_CAP, READ_CAP, RENAME_CAP, WRITE_CAP| Constructor and Description |
|---|
UrlVFS() |
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
_createInputStream(java.lang.Object session,
java.lang.String path,
boolean ignoreErrors,
java.awt.Component comp)
Creates an input stream.
|
java.io.OutputStream |
_createOutputStream(java.lang.Object session,
java.lang.String path,
java.awt.Component comp)
Creates an output stream.
|
java.lang.String |
constructPath(java.lang.String parent,
java.lang.String path)
Constructs a path from the specified directory and
file name component.
|
java.lang.String |
getFilePath(java.lang.String vfsPath)
Returns the path component of the specified VFS path.
|
_backup, _canonPath, _delete, _endVFSSession, _finishTwoStageSave, _getFile, _listDirectory, _listDirectory, _listDirectory, _listFiles, _mkdir, _rename, _saveComplete, copy, copy, copy, copy, createVFSSession, createVFSSessionSafe, getCapabilities, getDefaultColorFor, getExtendedAttributes, getFileName, getFileSeparator, getName, getParentOfPath, getTwoStageSaveName, insert, isMarkersFileSupported, load, reloadDirectory, savepublic java.lang.String constructPath(java.lang.String parent,
java.lang.String path)
VFS
Unless you are writing a VFS, this method should not be called
directly. To ensure correct behavior, you must call
MiscUtilities.constructPath(String,String)
instead.
constructPath in class VFSparent - The parent directorypath - The pathpublic java.io.InputStream _createInputStream(java.lang.Object session,
java.lang.String path,
boolean ignoreErrors,
java.awt.Component comp)
throws java.io.IOException
VFS_createInputStream in class VFSsession - the VFS sessionpath - The pathignoreErrors - If true, file not found errors should be
ignoredcomp - The component that will parent error dialog boxesnull if there was a problemjava.io.IOException - If an I/O error occurspublic java.io.OutputStream _createOutputStream(java.lang.Object session,
java.lang.String path,
java.awt.Component comp)
throws java.io.IOException
VFS_createOutputStream in class VFSsession - the VFS sessionpath - The pathcomp - The component that will parent error dialog boxesjava.io.IOException - If an I/O error occurspublic java.lang.String getFilePath(java.lang.String vfsPath)
VFSsuper.getFilePath().getFilePath in class VFSvfsPath - The VFS path