软件包 | 描述 |
---|---|
java.nio.file |
定义的接口和类的java虚拟机访问文件,文件属性,文件系统。
|
Modifier and Type | Method and Description |
---|---|
abstract WatchService |
FileSystem.newWatchService()
构建了一种新的
WatchService (可选操作)。
|
Modifier and Type | Method and Description |
---|---|
WatchKey |
Watchable.register(WatchService watcher, WatchEvent.Kind<?>... events)
用监视服务注册一个对象。
|
WatchKey |
Path.register(WatchService watcher, WatchEvent.Kind<?>... events)
通过该路径的一个表服务注册位于该路径中的文件。
|
WatchKey |
Watchable.register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)
用监视服务注册一个对象。
|
WatchKey |
Path.register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)
通过该路径的一个表服务注册位于该路径中的文件。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.