final class Path extends Watchable
- Alphabetic
- By Inheritance
- Path
- Watchable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def /(other: String): Path
Resolves the given path against this path.
- def /(other: Path): Path
Resolves the given path against this path.
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(index: Int): Path
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def elements: List[Path]
- def endsWith(other: Path): Boolean
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(obj: Any): Boolean
- Definition Classes
- Path → AnyRef → Any
- def filename: Path
- def filesystem: FileSystem
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- Path → AnyRef → Any
- def isAbsolute: Boolean
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def javaWatchable: java.nio.file.Watchable
- def nameCount: Int
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def normalize: Path
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def parent: Option[Path]
- final def register(watcher: WatchService, events: Iterable[Kind[_]], modifiers: Modifier*)(implicit trace: Trace): IO[IOException, WatchKey]
- Definition Classes
- Watchable
- final def register(watcher: WatchService, events: Kind[_]*)(implicit trace: Trace): IO[IOException, WatchKey]
- Definition Classes
- Watchable
- def registerTree(watcher: WatchService, events: Iterable[Kind[_]], maxDepth: Int = Int.MaxValue, modifiers: Iterable[Modifier] = Iterable.empty)(implicit trace: Trace): ZIO[Any, IOException, Chunk[WatchKey]]
Convenience method to register all directories in a tree with a
WatchService
.Convenience method to register all directories in a tree with a
WatchService
.Traverses the directory tree under this directory (including this), and calls
register
on each one. SpecifymaxDepth
to limit how deep the traversal will go.Note that directories created after registration will not be watched.
- watcher
The watch service that all directories will be registered with.
- events
All directories found will be registered for these events.
- maxDepth
The maximum directory depth the traversal will go, unlimited by default.
- modifiers
All directories found will be registered with these modifiers.
- returns
A
WatchKey
for each directory registered.
- def relativize(other: Path): Path
- def resolveSibling(other: Path): Path
- def root: Option[Path]
- def startsWith(other: Path): Boolean
- def subpath(beginIndex: Int, endIndex: Int): Path
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toAbsolutePath(implicit trace: Trace): ZIO[Any, IOError, Path]
- def toFile: File
- def toRealPath(linkOptions: LinkOption*)(implicit trace: Trace): ZIO[Any, IOException, Path]
- def toString(): String
- Definition Classes
- Path → AnyRef → Any
- def toUri(implicit trace: Trace): ZIO[Any, IOError, URI]
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()