toggle menu
trailblaze-report
jvm
switch theme
search in API
trailblaze-report
/
xyz.block.trailblaze.report.utils
/
FileWatchService
File
Watch
Service
class
FileWatchService
(
dirToWatch
:
File
,
onFileChange
:
(
FileWatchService.ChangeType
,
File
)
->
Unit
)
Members
Constructors
File
Watch
Service
Link copied to clipboard
constructor
(
dirToWatch
:
File
,
onFileChange
:
(
FileWatchService.ChangeType
,
File
)
->
Unit
)
Types
Change
Type
Link copied to clipboard
enum
ChangeType
:
Enum
<
FileWatchService.ChangeType
>
Properties
path
Link copied to clipboard
val
path
:
Path
watch
Service
Link copied to clipboard
val
watchService
:
WatchService
Functions
start
Watching
Link copied to clipboard
fun
startWatching
(
)
stop
Watching
Link copied to clipboard
fun
stopWatching
(
)