object FileTreeViews
- Alphabetic
- By Inheritance
- FileTreeViews
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait Observable[T] extends AnyRef
-
trait
Observer[T] extends AnyRef
Generic Observer for an Observable.
Generic Observer for an Observable.
- T
the type under observation
- class Updates[T] extends CacheObserver[T]
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
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.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- val defaultLister: DirectoryLister
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
-
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.
-
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- val listers: Array[DirectoryLister]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nioLister: DirectoryLister
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )