- GenericFileSystem - Class in com.github.fge.filesystem.fs
-
- GenericFileSystem(FileSystemRepository, FileSystemDriver, FileSystemProvider) - Constructor for class com.github.fge.filesystem.fs.GenericFileSystem
-
- GenericPath - Class in com.github.fge.filesystem.path
-
A generic
Path implementation
- GenericPath(GenericFileSystem, PathElementsFactory, PathElements) - Constructor for class com.github.fge.filesystem.path.GenericPath
-
Constructor
- getAttribute(String) - Method in class com.github.fge.filesystem.filestore.FileStoreBase
-
Reads the value of a file store attribute.
- getDriver() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Read an attribute view for a given path on this filesystem
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Read an attribute view for a given path on this filesystem
- getFileAttributeView(Path, Class<V>, LinkOption...) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Returns a file attribute view of a given type.
- getFileName() - Method in class com.github.fge.filesystem.path.GenericPath
-
Returns the name of the file or directory denoted by this path as a
Path object.
- getFileStore() - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Get the
FileStore associated with this filesystem
- getFileStore() - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- getFileStore() - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Get the
FileStore associated with this filesystem
- getFileStore(Path) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Returns the
FileStore representing the file store where a file
is located.
- getFileStoreAttributeView(Class<V>) - Method in class com.github.fge.filesystem.filestore.FileStoreBase
-
Returns a FileStoreAttributeView of the given type.
- getFileStores() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Returns an object to iterate over the underlying file stores.
- getFileSystem() - Method in class com.github.fge.filesystem.path.GenericPath
-
Returns the file system that created this object.
- getFileSystem(URI) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Returns an existing FileSystem created by this provider.
- getFileSystem(URI) - Method in interface com.github.fge.filesystem.provider.FileSystemRepository
-
- getFileSystem(URI) - Method in class com.github.fge.filesystem.provider.FileSystemRepositoryBase
-
- getName(int) - Method in class com.github.fge.filesystem.path.GenericPath
-
Returns a name element of this path as a Path object.
- getNameCount() - Method in class com.github.fge.filesystem.path.GenericPath
-
Returns the number of name elements in the path.
- getParent() - Method in class com.github.fge.filesystem.path.GenericPath
-
Returns the parent path, or null if this path does not
have a parent.
- getPath(String, String...) - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Converts a path string, or a sequence of strings that when joined form
a path string, to a Path.
- getPath(URI) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Return a
Path object by converting the given
URI.
- getPath(URI) - Method in interface com.github.fge.filesystem.provider.FileSystemRepository
-
- getPath(URI) - Method in class com.github.fge.filesystem.provider.FileSystemRepositoryBase
-
- getPathElementsFactory() - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
- getPathElementsFactory() - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- getPathElementsFactory() - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
- getPathMatcher(String) - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Returns a
PathMatcher that performs match operations on the
String representation of
Path objects by interpreting a
given pattern.
- getPathMatcher(String, String) - Method in class com.github.fge.filesystem.path.matchers.PathMatcherProvider
-
- getPathMatcherProvider() - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
- getPathMatcherProvider() - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- getPathMatcherProvider() - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
- getRoot() - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Get the root path elements for this filesystem
- getRoot() - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- getRoot() - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Get the root path elements for this filesystem
- getRoot() - Method in class com.github.fge.filesystem.path.GenericPath
-
Returns the root component of this path as a Path object,
or null if this path does not have a root component.
- getRootDirectories() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Returns an object to iterate over the paths of the root directories.
- getRootPathElements() - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
- getRootPathElements() - Method in class com.github.fge.filesystem.path.UnixPathElementsFactory
-
- getScheme() - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Returns the URI scheme that identifies this provider.
- getScheme() - Method in interface com.github.fge.filesystem.provider.FileSystemRepository
-
- getScheme() - Method in class com.github.fge.filesystem.provider.FileSystemRepositoryBase
-
- getSeparator() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Returns the name separator, represented as a string.
- getSeparator() - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
- getSupportedFileAttributeViews() - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Get a non-modifiable set of file attribute views supported by this
filesystem
- getSupportedFileAttributeViews() - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- getSupportedFileAttributeViews() - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Get a non-modifiable set of file attribute views supported by this
filesystem
- getTotalSpace() - Method in class com.github.fge.filesystem.filestore.UnsizedFileStoreBase
-
Returns the size, in bytes, of the file store.
- getUnallocatedSpace() - Method in class com.github.fge.filesystem.filestore.UnsizedFileStoreBase
-
Returns the number of unallocated bytes in the file store.
- getUri() - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Get the URI associated with this filesystem
- getUri() - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- getUri() - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Get the URI associated with this filesystem
- getUri() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
- getUsableSpace() - Method in class com.github.fge.filesystem.filestore.UnsizedFileStoreBase
-
Returns the number of bytes available to this Java virtual machine on the
file store.
- getUserPrincipalLookupService() - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Get a user/group lookup service for this filesystem
- getUserPrincipalLookupService() - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- getUserPrincipalLookupService() - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Get a user/group lookup service for this filesystem
- getUserPrincipalLookupService() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Returns the UserPrincipalLookupService for this file system
(optional operation).
- GlobHack - Class in sun.nio.fs
-
- GlobPathMatcher - Class in com.github.fge.filesystem.path.matchers
-
- GlobPathMatcher(String) - Constructor for class com.github.fge.filesystem.path.matchers.GlobPathMatcher
-
- isAbsolute() - Method in class com.github.fge.filesystem.path.GenericPath
-
Tells whether or not this path is absolute.
- isAbsolute(PathElements) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
- isAbsolute(PathElements) - Method in class com.github.fge.filesystem.path.UnixPathElementsFactory
-
- IsDirectoryException - Exception in com.github.fge.filesystem.exceptions
-
Exception defined when the source or target of a filesystem I/O operation
is a directory and should not be
- IsDirectoryException(String) - Constructor for exception com.github.fge.filesystem.exceptions.IsDirectoryException
-
Constructs an instance of this class.
- IsDirectoryException(String, String, String) - Constructor for exception com.github.fge.filesystem.exceptions.IsDirectoryException
-
Constructs an instance of this class.
- isHidden(Path) - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Tell whether a path is to be considered hidden by this filesystem
- isHidden(Path) - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Tell whether a path is to be considered hidden by this filesystem
- isHidden(Path) - Method in class com.github.fge.filesystem.driver.UnixLikeFileSystemDriverBase
-
Tell whether a path is to be considered hidden by this filesystem
- isHidden(Path) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Tells whether or not a file is considered hidden.
- isOpen() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Tells whether or not this file system is open.
- isOther() - Method in class com.github.fge.filesystem.attrs.BasicFileAttributesBase
-
Tells whether the file is something other than a regular file, directory,
or symbolic link.
- isParent(String) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
Check whether a name element represents the parent directory
- isParent(String) - Method in class com.github.fge.filesystem.path.UnixPathElementsFactory
-
- isReadOnly() - Method in class com.github.fge.filesystem.filestore.FileStoreBase
-
Tells whether this file store is read-only.
- isReadOnly() - Method in class com.github.fge.filesystem.fs.GenericFileSystem
-
Tells whether or not this file system allows only read-only access to
its file stores.
- isSameFile(Path, Path) - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Tell whether two paths actually refer to the same resource on this
filesystem
- isSameFile(Path, Path) - Method in class com.github.fge.filesystem.driver.FileSystemDriverBase
-
- isSameFile(Path, Path) - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Tell whether two paths actually refer to the same resource on this
filesystem
- isSameFile(Path, Path) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Tests if two paths locate the same file.
- isSelf(String) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
Check whether a name element represents the current directory
- isSelf(String) - Method in class com.github.fge.filesystem.path.UnixPathElementsFactory
-
- isSymbolicLink() - Method in class com.github.fge.filesystem.attrs.BasicFileAttributesBase
-
Tells whether the file is a symbolic link.
- isValidName(String) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
Check whether a name element is valid
- isValidName(String) - Method in class com.github.fge.filesystem.path.UnixPathElementsFactory
-
- iterator() - Method in class com.github.fge.filesystem.path.GenericPath
-
Returns an iterator over the name elements of this path.
- iterator() - Method in class com.github.fge.filesystem.path.PathElements
-
Returns an iterator over a set of elements of type T.
- readAttributes(Path, Class<A>, LinkOption...) - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Read attributes from a path on this filesystem
- readAttributes(Path, String, LinkOption...) - Method in interface com.github.fge.filesystem.driver.FileSystemDriver
-
Read a list of attributes from a path on this filesystem
- readAttributes(Path, Class<A>, LinkOption...) - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Read attributes from a path on this filesystem
- readAttributes(Path, String, LinkOption...) - Method in class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
Read a list of attributes from a path on this filesystem
- readAttributes(Path, Class<A>, LinkOption...) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Reads a file's attributes as a bulk operation.
- readAttributes(Path, String, LinkOption...) - Method in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
Reads a set of file attributes as a bulk operation.
- ReadOnlyAttributeException - Exception in com.github.fge.filesystem.exceptions
-
An
IOException defined when a file attribute is read only
- ReadOnlyAttributeException() - Constructor for exception com.github.fge.filesystem.exceptions.ReadOnlyAttributeException
-
Constructs an IOException with null
as its error detail message.
- ReadOnlyAttributeException(String) - Constructor for exception com.github.fge.filesystem.exceptions.ReadOnlyAttributeException
-
Constructs an IOException with the specified detail message.
- ReadOnlyAttributeException(String, Throwable) - Constructor for exception com.github.fge.filesystem.exceptions.ReadOnlyAttributeException
-
Constructs an IOException with the specified detail message
and cause.
- ReadOnlyAttributeException(Throwable) - Constructor for exception com.github.fge.filesystem.exceptions.ReadOnlyAttributeException
-
Constructs an IOException with the specified cause and a
detail message of (cause==null ? null : cause.toString())
(which typically contains the class and detail message of cause).
- ReadOnlyFileSystemDriver - Class in com.github.fge.filesystem.driver
-
A
FileSystemDriver composition implementation over another driver
for read only filesystems
- ReadOnlyFileSystemDriver(FileSystemDriver) - Constructor for class com.github.fge.filesystem.driver.ReadOnlyFileSystemDriver
-
- RegexPathMatcher - Class in com.github.fge.filesystem.path.matchers
-
- RegexPathMatcher(String) - Constructor for class com.github.fge.filesystem.path.matchers.RegexPathMatcher
-
- register(WatchService, WatchEvent.Kind<?>[], WatchEvent.Modifier...) - Method in class com.github.fge.filesystem.path.GenericPath
-
Registers the file located by this path with a watch service.
- register(WatchService, WatchEvent.Kind<?>...) - Method in class com.github.fge.filesystem.path.GenericPath
-
Registers the file located by this path with a watch service.
- registerPathMatcher(String, Class<? extends PathMatcher>) - Method in class com.github.fge.filesystem.path.matchers.PathMatcherProvider
-
- relativize(Path) - Method in class com.github.fge.filesystem.path.GenericPath
-
Constructs a relative path between this path and a given path.
- relativize(PathElements, PathElements) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
Relativize a path against another
- repository - Variable in class com.github.fge.filesystem.provider.FileSystemProviderBase
-
- resolve(Path) - Method in class com.github.fge.filesystem.path.GenericPath
-
Resolve the given path against this path.
- resolve(String) - Method in class com.github.fge.filesystem.path.GenericPath
-
Converts a given path string to a
Path and resolves it against
this
Path in exactly the manner specified by the
resolve method.
- resolve(PathElements, PathElements) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
- resolveSibling(Path) - Method in class com.github.fge.filesystem.path.GenericPath
-
Resolves the given path against this path's
parent
path.
- resolveSibling(String) - Method in class com.github.fge.filesystem.path.GenericPath
-
Converts a given path string to a
Path and resolves it against
this path's
parent path in exactly the manner
specified by the
resolveSibling method.
- resolveSibling(PathElements, PathElements) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
- rootAndNames(String) - Method in class com.github.fge.filesystem.path.PathElementsFactory
-
Split an input path into the root component and all name elements
- rootAndNames(String) - Method in class com.github.fge.filesystem.path.UnixPathElementsFactory
-