public interface FSCapabilityMountDirectoryType extends FSCapabilityCreateDirectoryType
The interface exposed by filesystem implementations that have the capability to load archives from a directory.
| Modifier and Type | Method and Description |
|---|---|
void |
mountArchive(String archive,
PathVirtual mount)
Mount the archive
archive at mount. |
createDirectoryvoid mountArchive(String archive, PathVirtual mount) throws FilesystemError
Mount the archive archive at mount. The path
specified by mount is required to refer to an existing
directory.
If the directory at mount exists but was not explicitly
created with FSCapabilityCreateDirectoryType.createDirectory(PathVirtual), then the
mountArchive function first calls
FSCapabilityCreateDirectoryType.createDirectory(PathVirtual) to mark mount as
explicitly created, and then attempts to mount the archive as normal.
archive - The archive to mount.mount - The mount point for the archive.FilesystemError - If a filesystem error occurs.Copyright © 2015 <code@io7m.com> http://io7m.com