Package org.teavm.tooling.util
Class FileSystemWatcher
- java.lang.Object
-
- org.teavm.tooling.util.FileSystemWatcher
-
public class FileSystemWatcher extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description FileSystemWatcher(java.lang.String[] classPath)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispose()java.util.List<java.io.File>grabChangedFiles()booleanhasChanges()voidwaitForChange(int timeout)
-
-
-
Method Detail
-
dispose
public void dispose() throws java.io.IOException- Throws:
java.io.IOException
-
hasChanges
public boolean hasChanges() throws java.io.IOException- Throws:
java.io.IOException
-
waitForChange
public void waitForChange(int timeout) throws java.lang.InterruptedException, java.io.IOException- Throws:
java.lang.InterruptedExceptionjava.io.IOException
-
grabChangedFiles
public java.util.List<java.io.File> grabChangedFiles()
-
-