java.lang.Object
de.grogra.util.TreeModelSupport
de.grogra.vfs.FileSystem
de.grogra.vfs.FileSystemBase
de.grogra.vfs.JoinedFileSystem
- All Implemented Interfaces:
TreeModel
-
Nested Class Summary
Nested classes/interfaces inherited from class de.grogra.vfs.FileSystem
FileSystem.Out -
Field Summary
Fields inherited from class de.grogra.vfs.FileSystem
fileNameMap, manifest, MIME_TYPEFields inherited from class de.grogra.util.TreeModelSupport
NODES_CHANGED, NODES_INSERTED, NODES_REMOVED, STRUCTURE_CHANGED -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddFileSystem(FileSystem fs, String name, Object root) protected ObjectcreateImpl(Object parent, String name, boolean createDirectory) voidgetAttributes(Object file, boolean create) getInputStream(Object file) getOutputStream(Object file, boolean append) getRoot()longlongbooleanbooleanbooleanisReadOnly(Object file) Object[]voidRemove a file from the filesystem.voidvoidMethods inherited from class de.grogra.vfs.FileSystemBase
getURLStreamHandler, toFile, toURLMethods inherited from class de.grogra.vfs.FileSystem
addFile, addFile, addLocalFile, addLocalFile, addLocalFile, completeListFiles, copyFilesTo, copyFileTo, copyFileTo, copyFileToDirectory, copyFileToDirectory, create, create, createIfDoesntExist, createIfDoesntExist, createIfDoesntExist, ensureNewDir, ensureNewFile, equals, findAll, fireInserted, getAbsolutePath, getAttribute, getAttribute, getBaseName, getBaseName, getCharset, getChild, getChildCount, getEventFor, getFile, getFile, getFSName, getIndexOfChild, getManifest, getManifestName, getMimeType, getPath, getPathWithLeadingSlash, getProtocol, getReader, getTreePath, getWriter, isContainedInChildren, isDirectory, isIn, readJar, removeNonlistedAttributes, setFileNameMap, setManifest, setMimeType, valueForPathChanged, writeJar, writeJarMethods inherited from class de.grogra.util.TreeModelSupport
addTreeModelListener, allListenersRemoved, clearListeners, fireTreeModelEvent, fireTreeModelEvent, fireTreeModelEvent, fireTreeModelEvent, firstListenerAdded, hasListeners, removeTreeModelListenerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.swing.tree.TreeModel
addTreeModelListener, removeTreeModelListener
-
Constructor Details
-
JoinedFileSystem
-
-
Method Details
-
isPersistent
public boolean isPersistent()- Specified by:
isPersistentin classFileSystem
-
delete
- Specified by:
deletein classFileSystem- Throws:
IOException
-
getName
- Specified by:
getNamein classFileSystem
-
getParent
- Specified by:
getParentin classFileSystem
-
isLeaf
-
isReadOnly
- Specified by:
isReadOnlyin classFileSystem
-
getTime
- Specified by:
getTimein classFileSystem
-
setTime
- Specified by:
setTimein classFileSystem
-
getSize
- Specified by:
getSizein classFileSystem
-
getRoot
- Specified by:
getRootin interfaceTreeModel- Specified by:
getRootin classFileSystem
-
listFiles
- Specified by:
listFilesin classFileSystem
-
getFile
- Specified by:
getFilein classFileSystem
-
createImpl
- Specified by:
createImplin classFileSystem- Throws:
IOException
-
getInputStream
- Specified by:
getInputStreamin classFileSystem- Throws:
IOException
-
getOutputStream
- Specified by:
getOutputStreamin classFileSystem- Throws:
IOException
-
getAttributes
- Overrides:
getAttributesin classFileSystem
-
addFileSystem
-
removeFileSystem
-
getFileSystemName
-
remove
Description copied from class:FileSystemRemove a file from the filesystem. It does not delete it if its local- Specified by:
removein classFileSystem- Parameters:
file-
-