KIE NIO.2 :: Model 6.0.0.CR4-Pre1

org.kie.commons.java.nio.file
Interface Watchable

All Known Subinterfaces:
Path
All Known Implementing Classes:
AbstractPath, GeneralPathImpl

public interface Watchable


Method Summary
 WatchKey register(WatchService watcher, WatchEvent.Kind<?>... events)
           
 WatchKey register(WatchService watcher, WatchEvent.Kind<?>[] events, WatchEvent.Modifier... modifiers)
           
 

Method Detail

register

WatchKey register(WatchService watcher,
                  WatchEvent.Kind<?>[] events,
                  WatchEvent.Modifier... modifiers)
                  throws UnsupportedOperationException,
                         IllegalArgumentException,
                         ClosedWatchServiceException,
                         IOException,
                         SecurityException
Throws:
UnsupportedOperationException
IllegalArgumentException
ClosedWatchServiceException
IOException
SecurityException

register

WatchKey register(WatchService watcher,
                  WatchEvent.Kind<?>... events)
                  throws UnsupportedOperationException,
                         IllegalArgumentException,
                         ClosedWatchServiceException,
                         IOException,
                         SecurityException
Throws:
UnsupportedOperationException
IllegalArgumentException
ClosedWatchServiceException
IOException
SecurityException

KIE NIO.2 :: Model 6.0.0.CR4-Pre1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.