public class DirectoryListner extends Object
DirectoryListner Directory watcher and invoke relevant registered callbacks| Constructor and Description |
|---|
DirectoryListner() |
| Modifier and Type | Method and Description |
|---|---|
void |
registerTargetDir(Path targetDirPath,
EventCallback callback) |
void |
startListening() |
public DirectoryListner()
throws IOException
IOExceptionpublic void registerTargetDir(Path targetDirPath, EventCallback callback) throws IOException
IOExceptionpublic void startListening()
Copyright © 2017 WSO2. All rights reserved.