|
Quilt Loader 1
|
A type of FileSystem which provides various replacements for Files methods which may execute much faster than their Files counterparts.
More...
Public Member Functions | |
| default Path | createFile (Path path, FileAttribute<?>... attrs) throws IOException |
Either the same speed as, or slightly faster than Files#createFile(Path, FileAttribute...). | |
| default Path | createDirectories (Path dir, FileAttribute<?>... attrs) throws IOException |
| default Path | copy (Path source, Path target, CopyOption... options) throws IOException |
| default boolean | isSymbolicLink (Path path) |
| default boolean | isDirectory (Path path, LinkOption... options) |
| default boolean | isRegularFile (Path path, LinkOption[] options) |
| default boolean | exists (Path path, LinkOption... options) |
Either the same speed as, or faster than Files#exists(Path, LinkOption...). | |
| default boolean | notExists (Path path, LinkOption... options) |
Either the same speed as, or faster than Files#notExists(Path, LinkOption...). | |
| default boolean | isReadable (Path path) |
| default boolean | isWritable (Path path) |
| default boolean | isExecutable (Path path) |
| default Stream< Path > | list (Path dir) throws IOException |
| default Collection<? extends Path > | getChildren (Path dir) throws IOException |
A type of FileSystem which provides various replacements for Files methods which may execute much faster than their Files counterparts.
Generally you should use FasterFiles instead of this.
|
inline |
| source | A Path, which might not be in this FileSystem. |
| target | A Path which must be from this FileSystem |
|
inline |
Either the same speed as, or slightly faster than Files#createFile(Path, FileAttribute...).
Otherwise this has the same semantics as Files#createFile(Path, FileAttribute...).
Implemented in org.quiltmc.loader.impl.filesystem.ReadOnlyFileSystem.
|
inline |
Either the same speed as, or faster than Files#exists(Path, LinkOption...).
Otherwise this has the same semantics as Files#exists(Path, LinkOption...).
Implemented in org.quiltmc.loader.api.CachedFileSystem, and org.quiltmc.loader.impl.filesystem.QuiltJoinedFileSystem.
|
inline |
Either the same speed as, or faster than Files#notExists(Path, LinkOption...).
Otherwise this has the same semantics as Files#notExists(Path, LinkOption...).