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