Class WatchedFile
- java.lang.Object
-
- com.djrapitops.plan.settings.upkeep.WatchedFile
-
public class WatchedFile extends java.lang.Object
File or Path with a function that is called if the file is modified.
-
-
Constructor Summary
Constructors Constructor Description WatchedFile(java.io.File file, VoidFunction onChange)
WatchedFile(java.nio.file.Path path, VoidFunction onChange)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
void
modified(java.nio.file.Path modifiedPath)
-
-
-
Constructor Detail
-
WatchedFile
public WatchedFile(java.io.File file, VoidFunction onChange)
-
WatchedFile
public WatchedFile(java.nio.file.Path path, VoidFunction onChange)
-
-