Package org.jboss.vfs
Class VFS.Mount
java.lang.Object
org.jboss.vfs.VFS.Mount
- All Implemented Interfaces:
Closeable,AutoCloseable
- Enclosing class:
VFS
The mount representation. This instance represents a binding between a position in the virtual filesystem and the
backing filesystem implementation; the same
FileSystem may be mounted in more than one place, however only
one FileSystem may be bound to a specific path at a time.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final StackTraceElement[]private final AtomicBooleanprivate final FileSystemprivate final VirtualFile -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()(package private) FileSystem(package private) VirtualFile
-
Field Details
-
fileSystem
-
mountPoint
-
allocationPoint
-
closed
-
-
Constructor Details
-
Mount
Mount(FileSystem fileSystem, VirtualFile mountPoint)
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
getFileSystem
FileSystem getFileSystem() -
getMountPoint
VirtualFile getMountPoint() -
finalize
- Overrides:
finalizein classObject- Throws:
IOException
-