Package

sbt

io

Permalink

package io

Visibility
  1. Public
  2. All

Type Members

  1. final class CopyOptions extends Serializable

    Permalink

    The options for the copy operation in IO.

  2. final class ExactFilter extends NameFilter

    Permalink

    A NameFilter that accepts a name if it is exactly equal to matchName.

  3. trait FileEventMonitor[+T] extends AutoCloseable

    Permalink

    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

  4. trait FileFilter extends java.io.FileFilter

    Permalink

    A java.io.FileFilter with additional methods for combining filters.

  5. trait FileTreeDataView[+T] extends FileTreeView with AutoCloseable

    Permalink

    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.

  6. trait FileTreeRepository[+T] extends Observable[T] with FileTreeDataView[T] with AutoCloseable

    Permalink

    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.

  7. trait FileTreeView extends AutoCloseable

    Permalink

    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.

  8. sealed abstract class IOSyntax0 extends IOSyntax1

    Permalink
  9. sealed abstract class IOSyntax1 extends AnyRef

    Permalink
  10. final class LinkOptionPath extends RichNioPath

    Permalink
  11. class MacOSXWatchService extends WatchService with Unregisterable

    Permalink
  12. abstract class Mapper extends AnyRef

    Permalink
  13. trait NameFilter extends FileFilter

    Permalink

    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.

  14. sealed abstract class PathFinder extends AnyRef

    Permalink

    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 to get if the underlying filesystem has changed.

  15. final class PatternFilter extends NameFilter

    Permalink

    A NameFilter that accepts a name if it matches the regular expression defined by pattern.

  16. class PollingWatchService extends WatchService with Unregisterable

    Permalink

    A WatchService that polls the filesystem every delay.

  17. final class RichFile extends AnyVal with RichNioPath

    Permalink
  18. sealed trait RichNioPath extends Any

    Permalink
  19. sealed class SimpleFileFilter extends FileFilter

    Permalink

    A FileFilter that selects files according the predicate acceptFunction.

  20. sealed class SimpleFilter extends NameFilter

    Permalink

    A NameFilter that accepts a name if the predicate acceptFunction accepts it.

  21. trait TypedPath extends AnyRef

    Permalink

    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.

  22. trait Unregisterable extends AnyRef

    Permalink
  23. abstract class Using[Source, T] extends AnyRef

    Permalink
  24. trait WatchService extends AnyRef

    Permalink

    A service that will monitor the file system for file creation, deletion and modification.

Value Members

  1. object AllPassFilter extends NameFilter

    Permalink

    A NameFilter that accepts all names.

    A NameFilter that accepts all names. That is, accept always returns true.

  2. object CopyOptions extends Serializable

    Permalink
  3. object DirectoryFilter extends FileFilter

    Permalink

    A FileFilter that selects files that are a directory according to java.io.File.isDirectory.

  4. object ExistsFileFilter extends FileFilter

    Permalink

    A FileFilter that selects files that exist according to java.io.File.exists.

  5. object FileEventMonitor

    Permalink
  6. object FileFilter

    Permalink
  7. object FileTreeDataView

    Permalink
  8. object FileTreeRepository

    Permalink
  9. object FileTreeView

    Permalink
  10. object GlobFilter

    Permalink

    Constructs a filter from a String, interpreting wildcards.

    Constructs a filter from a String, interpreting wildcards. See the GlobFilter.apply method.

  11. object Hash

    Permalink
  12. object HiddenFileFilter extends FileFilter

    Permalink

    A FileFilter that selects files that are hidden according to java.nio.file.Files.isHidden or if they start with a dot (.).

  13. object IO

    Permalink

    A collection of File, URL, and I/O utility methods.

  14. object JavaMilli extends MilliMilliseconds

    Permalink
  15. object NameFilter

    Permalink
  16. object NothingFilter extends NameFilter

    Permalink

    A NameFilter that accepts nothing.

    A NameFilter that accepts nothing. That is, accept always returns false.

  17. object Path extends Mapper

    Permalink
  18. object PathFinder

    Permalink
  19. object TypedPath

    Permalink
  20. object Using

    Permalink
  21. object WatchService

    Permalink
  22. object syntax extends IOSyntax0

    Permalink

Ungrouped