| Package | Description |
|---|---|
| de.pfabulist.lindwurm.eighty | |
| de.pfabulist.lindwurm.eighty.path | |
| de.pfabulist.lindwurm.eighty.watch |
| Modifier and Type | Method and Description |
|---|---|
EightyPath |
EightySymLink.getHost() |
| Modifier and Type | Method and Description |
|---|---|
void |
EightyFS.checkAccess(EightyPath path,
AccessMode... modes)
Check Read, Write, Exec access
is called quite often for file existence
|
default void |
EightyFS.copy(EightyPath source,
EightyPath target,
CopyOption... options)
Copy with same provider (not necessarily same FS)
target does not exist
needs to send out watch events (if supported in FS)
|
void |
EightyFS.createDirectory(EightyPath dir,
FileAttribute<?>... attrs)
Create a new Directory
This method should work in the manner specified in the
Files.createDirectory(java.nio.file.Path, java.nio.file.attribute.FileAttribute<?>...) method. |
default void |
EightyFS.createHardLink(EightyPath normLink,
EightyPath normExisting) |
default void |
EightyFS.createSymLink(EightyPath link,
EightyPath existing,
FileAttribute<?>[] attrs) |
void |
EightyFS.delete(EightyPath path)
Deletes the path as in
Files.move(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...)
but
- path is absolute
- is non empty
- exists
- is not root |
<V extends FileAttributeView> |
EightyFS.getFileAttributeView(EightyPath path,
Class<V> type) |
default FileStore |
EightyFS.getFileStore(EightyPath path) |
default Optional<EightySymLink> |
EightyFS.getSymlink(EightyPath path) |
default boolean |
EightyFS.isHidden(EightyPath paths) |
default void |
EightyFS.move(EightyPath source,
EightyPath target)
Moves the content of source to path
This method works in mostly the manner
specified by the
Files.move(java.nio.file.Path, java.nio.file.Path, java.nio.file.CopyOption...) method. |
default SeekableByteChannel |
EightyFS.newByteChannel(EightyPath path,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
default void |
EightyFS.newContent(EightyPath path) |
Stream<Path> |
EightyFS.newDirectoryStream(EightyPath dir) |
FileChannel |
EightyFS.newFileChannel(EightyPath path,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs)
Creates new SeekableByteChannel to that path
This method works in mostly the manner
specified by the
Files.newByteChannel(java.nio.file.Path, java.util.Set<? extends java.nio.file.OpenOption>, java.nio.file.attribute.FileAttribute<?>...) method. |
void |
EightyFileSystem.signal(EightyPath path,
WatchEvent.Kind<Path> eventKind) |
| Modifier and Type | Method and Description |
|---|---|
static <T extends SeekableByteChannel> |
ProviderChannel.newChannel(Path pathArg,
Set<? extends OpenOption> options,
BiFunction<EightyPath,Set<OpenOption>,T> create) |
| Constructor and Description |
|---|
RealPath(EightyPath path) |
| Modifier and Type | Method and Description |
|---|---|
EightyPath |
EightyPath.getParent() |
EightyPath |
EightyPath.normalize() |
EightyPath |
EightyPath.toAbsolutePath() |
static EightyPath |
ProviderPath.toRealPath(Path path) |
static EightyPath |
ProviderPath.toRealPathEx(Path path,
LinkOption... options) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
EightyWatchKey.isWatchingFor(EightyPath path,
WatchEvent.Kind<Path> event) |
WatchKey |
EightyWatchService.register(EightyPath path,
WatchEvent.Kind<?>... events) |
WatchKey |
AttachedWatchService.register(EightyPath path,
WatchEvent.Kind<?>... events) |
void |
EightyWatchService.signal(EightyPath path,
WatchEvent.Kind<Path> event) |
void |
EightyWatcher.signal(EightyPath path,
WatchEvent.Kind<Path> eventKind) |
| Constructor and Description |
|---|
EightyWatchKey(EightyPath path,
WatchEvent.Kind<?>... events) |
Signal(EightyWatcher wel,
EightyPath path) |
Copyright © 2015. All rights reserved.