Generic Observer for an Observable.
Generic Observer for an Observable.
the type under observation
Make a new DirectoryView that caches the file tree but has no data value associated with each value.
Make a new DirectoryView that caches the file tree but has no data value associated with each value.
the path to monitor
sets how the limit for how deep to traverse the children of this directory
sets whether or not to treat symbolic links whose targets as directories or files
a directory whose entries just contain the path itself.
Returns the default FileTreeView for the runtime platform.
Returns the default FileTreeView for the runtime platform. If a native implementation is present, it will be used. Otherwise, it will fall back to the java.nio.file based implementation.
toggles whether or not to follow the targets of symbolic links to directories.
toggles whether or not to ignore IOExceptions thrown while listing the directory. If true, some files that are found may be silently dropped if accessing them caused an exception.
an instance of FileTreeView.
Returns the default FileTreeView for the runtime platform.
Returns the default FileTreeView for the runtime platform. If a native implementation is present, it will be used. Otherwise, it will fall back to the java.nio.file based implementation.
toggles whether or not to follow the targets of symbolic links to directories.
an instance of FileTreeView.
Returns an instance of FileTreeView that uses native jni functions to improve performance compared to the FileTreeView returned by FileTreeViews.getNio.
Returns an instance of FileTreeView that uses native jni functions to improve performance compared to the FileTreeView returned by FileTreeViews.getNio.
toggles whether or not to follow the targets of symbolic links to directories.
an instance of FileTreeView.
Returns an instance of FileTreeView that uses only apis available in java.nio.file.
Returns an instance of FileTreeView that uses only apis available in java.nio.file. This may be used on platforms for which there is no native implementation of FileTreeView.
toggles whether or not to follow the targets of symbolic links to directories.
an instance of FileTreeView.
List the contents of a path.
List the contents of a path.
the path to list. If the path is a directory, return the children of this directory
up to the maxDepth. If the path is a regular file and the maxDepth is -1
, the
path itself is returned. Otherwise an empty list is returned.
the maximum depth of children to include in the results
only include paths accepted by this filter
a java.util.List of TypedPath