public interface Protocol extends Closeable
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
read(FileLocation location)
Read data of file
|
void |
watch(FileLocation location,
FileConfigGroup fileConfigGroup)
Register watcher for the file
|
byte[] read(FileLocation location) throws InvalidPathException
location - InvalidPathExceptionvoid watch(FileLocation location, FileConfigGroup fileConfigGroup) throws InvalidPathException
location - fileConfigGroup - InvalidPathExceptionCopyright © 2018. All rights reserved.