public class UrlVFS extends VFS
VFS.DirectoryEntryCompare
BROWSE_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 | Description |
---|---|
UrlVFS() |
Modifier and Type | Method | 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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
_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, save
public 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 VFS
parent
- 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 VFS
session
- 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 VFS
session
- 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)
VFS
super.getFilePath()
.getFilePath
in class VFS
vfsPath
- The VFS path