o

com.swoval.files

FileTreeViews

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
  2. trait Observer[T] extends AnyRef

    Generic Observer for an Observable.

    Generic Observer for an Observable.

    T

    the type under observation

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cached(path: Path, depth: Int, followLinks: Boolean): DirectoryView

    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
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. val defaultLister: DirectoryLister
  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getDefault(followLinks: Boolean): 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.

    followLinks

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

    returns

    an instance of FileTreeView.

  13. def getNative(followLinks: Boolean): 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.

    followLinks

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

    returns

    an instance of FileTreeView.

  14. def getNio(followLinks: Boolean): 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.

    followLinks

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

    returns

    an instance of FileTreeView.

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def list(path: Path, maxDepth: Int, filter: Filter[_ >: TypedPath]): List[TypedPath]

    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

  18. val listers: Array[DirectoryLister]
  19. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. val nioLister: DirectoryLister
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  24. def toString(): String
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped