Package | Description |
---|---|
com.io7m.jvvfs |
Core functions and types.
|
Modifier and Type | Field and Description |
---|---|
static PathVirtual |
PathVirtual.ROOT
A virtual path representing the root directory.
|
Modifier and Type | Method and Description |
---|---|
PathVirtual |
PathVirtual.append(PathVirtual p)
Append all elements of
p to the current path, returning a
new path. |
PathVirtual |
PathVirtual.appendName(String name)
Append the name
name to the current path, returning a new
path. |
PathVirtual |
PathVirtualEnum.nextElement() |
static PathVirtual |
PathVirtual.ofNames(List<String> names)
Produce a virtual path from the list of names.
|
static PathVirtual |
PathVirtual.ofString(String path)
Parse the given
path according to the EBNF grammar given at
the start of this file, and produce a virtual path. |
static PathVirtual |
PathVirtual.ofStringLax(String path)
Normalize
path by stripping trailing slashes and eliminating
multiple consecutive slashes, and then pass the result to
ofString(String) . |
PathVirtual |
PathVirtual.subtract(PathVirtual other)
"Subtract" the path
other from the current path. |
Modifier and Type | Method and Description |
---|---|
Deque<com.io7m.jfunctional.Pair<PathReal,PathVirtual>> |
Filesystem.getMountedArchives() |
Deque<com.io7m.jfunctional.Pair<PathReal,PathVirtual>> |
FSCapabilityMountSnapshotType.getMountedArchives() |
Modifier and Type | Method and Description |
---|---|
PathVirtual |
PathVirtual.append(PathVirtual p)
Append all elements of
p to the current path, returning a
new path. |
int |
PathVirtual.compareTo(PathVirtual o)
The ordering relation for virtual paths.
|
void |
Filesystem.createDirectory(PathVirtual path) |
void |
FSCapabilityCreateDirectoryType.createDirectory(PathVirtual path)
Create a directory in the virtual filesystem at
path . |
static PathVirtualEnum |
PathVirtualEnum.enumerate(PathVirtual p)
Construct a new path enumeration.
|
boolean |
Filesystem.exists(PathVirtual path) |
boolean |
FSCapabilityReadType.exists(PathVirtual path) |
long |
Filesystem.getFileSize(PathVirtual path) |
long |
FSCapabilityReadType.getFileSize(PathVirtual path) |
Calendar |
Filesystem.getModificationTime(PathVirtual path) |
Calendar |
FSCapabilityReadType.getModificationTime(PathVirtual path) |
boolean |
PathVirtual.isAncestorOf(PathVirtual p)
Determine whether the current path is an ancestor of
p . |
boolean |
Filesystem.isDirectory(PathVirtual path) |
boolean |
FSCapabilityReadType.isDirectory(PathVirtual path) |
boolean |
Filesystem.isFile(PathVirtual path) |
boolean |
FSCapabilityReadType.isFile(PathVirtual path) |
boolean |
PathVirtual.isParentOf(PathVirtual p)
Determine whether the current path is the parent of
p . |
SortedSet<String> |
Filesystem.listDirectory(PathVirtual path) |
SortedSet<String> |
FSCapabilityReadType.listDirectory(PathVirtual path) |
void |
Filesystem.mountArchive(String archive,
PathVirtual mount) |
void |
FSCapabilityMountDirectoryType.mountArchive(String archive,
PathVirtual mount)
Mount the archive
archive at mount . |
void |
Filesystem.mountArchiveFromAnywhere(File archive,
PathVirtual mount) |
void |
FSCapabilityMountAnywhereType.mountArchiveFromAnywhere(File archive,
PathVirtual mount)
Mount the archive
archive at mount . |
void |
Filesystem.mountClasspathArchive(Class<?> c,
PathVirtual mount) |
void |
FSCapabilityMountClasspathType.mountClasspathArchive(Class<?> c,
PathVirtual mount)
Mount the archive containing class
c at mount . |
InputStream |
Filesystem.openFile(PathVirtual path) |
InputStream |
FSCapabilityReadType.openFile(PathVirtual path)
Open the file at
path . |
PathVirtual |
PathVirtual.subtract(PathVirtual other)
"Subtract" the path
other from the current path. |
void |
Filesystem.unmount(PathVirtual mount) |
void |
FSCapabilityUnmountType.unmount(PathVirtual mount)
Unmounts the most recently mounted archive at
mount . |
void |
Filesystem.updateModificationTime(PathVirtual path,
Calendar t) |
void |
FSCapabilityUpdateTimeType.updateModificationTime(PathVirtual path,
Calendar t)
Updates the modification time of the object at
path to
t . |
Copyright © 2015 <code@io7m.com> http://io7m.com