Object

com.swoval.files

FileTreeViews

Related Doc: package files

Permalink

object FileTreeViews

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FileTreeViews
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait Observable[T] extends AnyRef

    Permalink
  2. trait Observer[T] extends AnyRef

    Permalink

    Generic Observer for an Observable.

    Generic Observer for an Observable.

    T

    the type under observation

  3. class Updates[T] extends CacheObserver[T]

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def cached(path: Path, depth: Int, followLinks: Boolean): DirectoryView

    Permalink

    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.

    path

    the path to monitor

    depth

    sets how the limit for how deep to traverse the children of this directory

    followLinks

    sets whether or not to treat symbolic links whose targets as directories or files

    returns

    a directory whose entries just contain the path itself.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val defaultLister: DirectoryLister

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def getDefault(followLinks: Boolean, ignoreExceptions: Boolean): FileTreeView

    Permalink

    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.

    followLinks

    toggles whether or not to follow the targets of symbolic links to directories.

    ignoreExceptions

    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.

    returns

    an instance of FileTreeView.

  13. def getDefault(followLinks: Boolean): FileTreeView

    Permalink

    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.

    followLinks

    toggles whether or not to follow the targets of symbolic links to directories.

    returns

    an instance of FileTreeView.

  14. def getNative(followLinks: Boolean): FileTreeView

    Permalink

    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.

    followLinks

    toggles whether or not to follow the targets of symbolic links to directories.

    returns

    an instance of FileTreeView.

  15. def getNio(followLinks: Boolean): FileTreeView

    Permalink

    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.

    followLinks

    toggles whether or not to follow the targets of symbolic links to directories.

    returns

    an instance of FileTreeView.

  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def list(path: Path, maxDepth: Int, filter: Filter[_ >: TypedPath]): List[TypedPath]

    Permalink

    List the contents of a path.

    List the contents of a path.

    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.

    maxDepth

    the maximum depth of children to include in the results

    filter

    only include paths accepted by this filter

    returns

    a java.util.List of TypedPath

  19. val listers: Array[DirectoryLister]

    Permalink
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. val nioLister: DirectoryLister

    Permalink
  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped