object PathWatchers
- Annotations
- @JSExportTopLevel( "PathWatchers" ) @JSExportAll()
- Alphabetic
- By Inheritance
- PathWatchers
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
case class
Event(getTypedPath: TypedPath, getKind: String) extends Product with Serializable
A file event for a PathWatcher.
A file event for a PathWatcher.
- getTypedPath
the TypedPath to which the event corresponds.
- getKind
the kind of event. The possible kinds are { "Create", "Delete", "Error", "Modify" }.
- Annotations
- @JSExportAll()
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
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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] )
-
def
get(followLinks: UndefOr[Boolean]): PathWatcher
Create a PathWatcher for the runtime platform.
Create a PathWatcher for the runtime platform.
- followLinks
toggles whether or not the targets of symbolic links should be monitored
- returns
an appropriate PathWatcher for the runtime platform.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
polling(followLinks: UndefOr[Boolean], intervalMS: UndefOr[Double]): PathWatcher
Create a path watcher that periodically polls the file system to detect changes
Create a path watcher that periodically polls the file system to detect changes
- followLinks
toggles whether or not the targets of symbolic links should be monitored
- intervalMS
minimum duration in milliseconds between when polling ends and the next poll begins
- returns
the PathWatcher backed by a com.swoval.files.PollingPathWatcher.
-
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( ... )