package io
- Alphabetic
- Public
- All
Type Members
- final class CopyOptions extends Serializable
The options for the copy operation in
IO
. - final class ExactFilter extends NameFilter
A NameFilter that accepts a name if it is exactly equal to
matchName
. - trait FileEventMonitor[+T] extends AutoCloseable
Provides a blocking interface for awaiting events from an FileTreeDataView.Observable.
Provides a blocking interface for awaiting events from an FileTreeDataView.Observable.
- T
the type of FileTreeDataView.Entry.value instances
- trait FileFilter extends java.io.FileFilter
A
java.io.FileFilter
with additional methods for combining filters. - trait FileTreeDataView[+T] extends FileTreeView with AutoCloseable
Provides a view into the file system that allows retrieval of the children of a particular path where each child has an associated FileTreeDataView.Entry that is generally derived from the file (e.g.
Provides a view into the file system that allows retrieval of the children of a particular path where each child has an associated FileTreeDataView.Entry that is generally derived from the file (e.g. the FileTreeDataView.Entry.value may be the md5 hash of the underlying file). Specific implementations may or may not use a cache for retrieval. It extends FileTreeView since FileTreeView.list can be trivially implemented using
listEntries
. - trait FileTreeRepository[+T] extends Observable[T] with FileTreeDataView[T] with AutoCloseable
Monitors registered directories for file changes.
Monitors registered directories for file changes. A typical implementation will keep an in memory cache of the file system that can be queried in FileTreeRepository#listEntries. The FileTreeRepository#register method adds monitoring for a particular cache. A filter may be provided so that the cache doesn't waste memory on files the user doesn't care about. The cache may be shared across a code base so there additional apis for adding filters or changing the recursive property of a directory.
- T
the type of the FileTreeDataView.Entry.values.
- trait FileTreeView extends AutoCloseable
Provides a view into the file system that allows retrieval of the children of a particular path.
Provides a view into the file system that allows retrieval of the children of a particular path. Specific implementations may or may not use a cache for retrieval.
- sealed abstract class IOSyntax0 extends IOSyntax1
- sealed abstract class IOSyntax1 extends AnyRef
- final class LinkOptionPath extends RichNioPath
- class MacOSXWatchService extends WatchService with Unregisterable
- abstract class Mapper extends AnyRef
- trait NameFilter extends FileFilter
A filter on Strings.
A filter on Strings. This also functions as a FileFilter by applying the String filter to the value of a File's
getName
. - sealed abstract class PathFinder extends AnyRef
A path finder constructs a set of paths.
A path finder constructs a set of paths. The set is evaluated by a call to the
get
method. The set will be different for different calls toget
if the underlying filesystem has changed. - final class PatternFilter extends NameFilter
A NameFilter that accepts a name if it matches the regular expression defined by
pattern
. - class PollingWatchService extends WatchService with Unregisterable
A
WatchService
that polls the filesystem everydelay
. - final class RichFile extends AnyVal with RichNioPath
- sealed trait RichNioPath extends Any
- sealed class SimpleFileFilter extends FileFilter
A FileFilter that selects files according the predicate
acceptFunction
. - sealed class SimpleFilter extends NameFilter
A NameFilter that accepts a name if the predicate
acceptFunction
accepts it. - trait TypedPath extends AnyRef
Represents a path in the file system.
Represents a path in the file system. It may cache some of the file attributes so that no disk io is necessary to check, for example, whether the file is a directory or regular file.
- trait Unregisterable extends AnyRef
- abstract class Using[Source, T] extends AnyRef
- trait WatchService extends AnyRef
A service that will monitor the file system for file creation, deletion and modification.
Value Members
- object AllPassFilter extends NameFilter
A NameFilter that accepts all names.
A NameFilter that accepts all names. That is,
accept
always returnstrue
. - object CopyOptions extends Serializable
- object DirectoryFilter extends FileFilter
A FileFilter that selects files that are a directory according to
java.io.File.isDirectory
. - object ExistsFileFilter extends FileFilter
A FileFilter that selects files that exist according to
java.io.File.exists
. - object FileEventMonitor
- object FileFilter
- object FileTreeDataView
- object FileTreeRepository
- object FileTreeView
- object GlobFilter
Constructs a filter from a String, interpreting wildcards.
Constructs a filter from a String, interpreting wildcards. See the GlobFilter.apply method.
- object Hash
- object HiddenFileFilter extends FileFilter
A FileFilter that selects files that are hidden according to
java.nio.file.Files.isHidden
or if they start with a dot (.
). - object IO
A collection of File, URL, and I/O utility methods.
- object JavaMilli extends MilliMilliseconds
- object NameFilter
- object NothingFilter extends NameFilter
A NameFilter that accepts nothing.
A NameFilter that accepts nothing. That is,
accept
always returnsfalse
. - object Path extends Mapper
- object PathFinder
- object TypedPath
- object Using
- object WatchService
- object syntax extends IOSyntax0