A C D F G L M N O P R T V W
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- addWatcher(Path, FileEventListener) - Method in class net.morimekta.file.DirWatcher
-
Start watching file path and notify watcher for updates on that file.
- addWatcher(Path, FileEventListener) - Method in class net.morimekta.file.FileWatcher
-
Start watching file path and notify watcher for updates on that file.
C
- close() - Method in class net.morimekta.file.DirWatcher
- close() - Method in class net.morimekta.file.FileWatcher
- close() - Method in class net.morimekta.file.TemporaryAssetFolder
- CREATED - net.morimekta.file.FileEvent
-
A new file has been created.
- CURRENT_DIR - Static variable in class net.morimekta.file.FileUtil
D
- DELETED - net.morimekta.file.FileEvent
-
The file entry has been deleted.
- deleteRecursively(Path) - Static method in class net.morimekta.file.FileUtil
-
Delete the file or directory recursively.
- DirWatcher - Class in net.morimekta.file
-
A dir watcher uses a native watch service and watch directories for any change.
- DirWatcher() - Constructor for class net.morimekta.file.DirWatcher
-
Create a FileWatcher with default watch service.
- DirWatcher(WatchService) - Constructor for class net.morimekta.file.DirWatcher
-
Create a FileWatcher using the provided watch service.
- DirWatcher(WatchService, ExecutorService, ExecutorService) - Constructor for class net.morimekta.file.DirWatcher
F
- FileEvent - Enum in net.morimekta.file
-
Event describing what is happening with a file.
- FileEventListener - Interface in net.morimekta.file
-
Listener for file events.
- FileUtil - Class in net.morimekta.file
-
NIO file utility extensions.
- FileWatcher - Class in net.morimekta.file
-
File watcher helper for use with simple callbacks.
- FileWatcher() - Constructor for class net.morimekta.file.FileWatcher
-
Create a FileWatcher with default watch service.
- FileWatcher(DirWatcher) - Constructor for class net.morimekta.file.FileWatcher
-
Create a FileWatcher using the provided directory watcher.
- forWatchEventKind(WatchEvent.Kind<?>) - Static method in class net.morimekta.file.DirWatcher
G
- getBytes(String) - Method in class net.morimekta.file.TemporaryAssetFolder
- getFile() - Method in class net.morimekta.file.TemporaryAssetFolder
- getFileBaseName(String) - Static method in class net.morimekta.file.PathUtil
-
Get the base name of a file.
- getFileBaseName(Path) - Static method in class net.morimekta.file.PathUtil
-
Get the base name of a file.
- getFileName(Path) - Static method in class net.morimekta.file.PathUtil
-
Get file name.
- getFileSuffix(String) - Static method in class net.morimekta.file.PathUtil
-
Get file suffix.
- getFileSuffix(Path) - Static method in class net.morimekta.file.PathUtil
-
Get file suffix.
- getInputStream(String) - Method in class net.morimekta.file.TemporaryAssetFolder
- getOutputStream(String) - Method in class net.morimekta.file.TemporaryAssetFolder
- getOutputStream(String, boolean) - Method in class net.morimekta.file.TemporaryAssetFolder
- getPath() - Method in class net.morimekta.file.TemporaryAssetFolder
- getReader(String) - Method in class net.morimekta.file.TemporaryAssetFolder
- getString(String) - Method in class net.morimekta.file.TemporaryAssetFolder
- getWriter(String) - Method in class net.morimekta.file.TemporaryAssetFolder
- getWriter(String, boolean) - Method in class net.morimekta.file.TemporaryAssetFolder
L
- list() - Method in class net.morimekta.file.TemporaryAssetFolder
- list(boolean) - Method in class net.morimekta.file.TemporaryAssetFolder
- list(Path) - Static method in class net.morimekta.file.FileUtil
-
List all files in the given directory.
- list(Path, boolean) - Static method in class net.morimekta.file.FileUtil
-
List all files in the given directory.
M
- MODIFIED - net.morimekta.file.FileEvent
-
The file in question has been modified, either just metadata or written content to.
N
- net.morimekta.file - module net.morimekta.file
-
Java module with utilities for handling files, paths and directories.
- net.morimekta.file - package net.morimekta.file
O
- onFileEvent(Path, FileEvent) - Method in interface net.morimekta.file.FileEventListener
-
Called on each detected file event from
DirWatcher
andFileWatcher
.
P
- PARENT_DIR - Static variable in class net.morimekta.file.FileUtil
- PathUtil - Class in net.morimekta.file
-
Utility for helping with file names and paths.
- put(String, byte[]) - Method in class net.morimekta.file.TemporaryAssetFolder
- put(String, CharSequence) - Method in class net.morimekta.file.TemporaryAssetFolder
R
- readCanonicalPath(Path) - Static method in class net.morimekta.file.FileUtil
-
Read and parse the path to its absolute canonical path.
- removeWatcher(Path, FileEventListener) - Method in class net.morimekta.file.DirWatcher
-
Remove a watcher from the list of listeners.
- removeWatcher(Path, FileEventListener) - Method in class net.morimekta.file.FileWatcher
-
Remove a watcher from the list of listeners.
- removeWatcher(FileEventListener) - Method in class net.morimekta.file.DirWatcher
-
Remove a watcher from the list of listeners.
- removeWatcher(FileEventListener) - Method in class net.morimekta.file.FileWatcher
-
Remove a watcher from the list of listeners.
- replaceSymbolicLink(Path, Path) - Static method in class net.morimekta.file.FileUtil
-
Similar to
Files.createSymbolicLink(Path, Path, FileAttribute[])
, but will replace the link if it already exists, and will try to write / replace it as an atomic operation. - resolveFile(String) - Method in class net.morimekta.file.TemporaryAssetFolder
- resolvePath(String) - Method in class net.morimekta.file.TemporaryAssetFolder
T
- TemporaryAssetFolder - Class in net.morimekta.file
-
A temporary asset folder where an arbitrary number of files can be added to and should guarantee complete cleanup on close.
- TemporaryAssetFolder() - Constructor for class net.morimekta.file.TemporaryAssetFolder
- TemporaryAssetFolder(Path) - Constructor for class net.morimekta.file.TemporaryAssetFolder
- TemporaryAssetFolder(Path, String) - Constructor for class net.morimekta.file.TemporaryAssetFolder
V
- valueOf(String) - Static method in enum net.morimekta.file.FileEvent
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum net.morimekta.file.FileEvent
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- weakAddWatcher(Path, FileEventListener) - Method in class net.morimekta.file.DirWatcher
-
Start watching file path and notify watcher for updates on that file.
- weakAddWatcher(Path, FileEventListener) - Method in class net.morimekta.file.FileWatcher
-
Start watching file path and notify watcher for updates on that file.
All Classes All Packages