Class BridgeDirWatcher
java.lang.Object
pro.gravit.launcher.client.utils.DirWatcher
pro.gravit.launcher.runtime.backend.BridgeDirWatcher
- All Implemented Interfaces:
AutoCloseable, Runnable
public class BridgeDirWatcher
extends pro.gravit.launcher.client.utils.DirWatcher
-
Field Summary
Fields inherited from class pro.gravit.launcher.client.utils.DirWatcher
FILE_TREE_SUPPORTED, IGN_OVERFLOW -
Constructor Summary
ConstructorsConstructorDescriptionBridgeDirWatcher(Path dir, pro.gravit.launcher.core.hasher.HashedDir hdir, pro.gravit.launcher.core.hasher.FileNameMatcher matcher, boolean digest, ReadyProfileImpl readyProfile) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonForbiddenModification(WatchEvent<?> event, Path path) Methods inherited from class pro.gravit.launcher.client.utils.DirWatcher
close, run
-
Constructor Details
-
BridgeDirWatcher
public BridgeDirWatcher(Path dir, pro.gravit.launcher.core.hasher.HashedDir hdir, pro.gravit.launcher.core.hasher.FileNameMatcher matcher, boolean digest, ReadyProfileImpl readyProfile) throws IOException - Throws:
IOException
-
-
Method Details
-
onForbiddenModification
- Overrides:
onForbiddenModificationin classpro.gravit.launcher.client.utils.DirWatcher
-