├── .gitignore ├── License.txt ├── README.txt ├── pom.xml └── src ├── main └── java │ └── bbejeck │ └── nio │ ├── AsyncSocketTestDriver.java │ ├── Host.java │ ├── MessageCount.java │ ├── PlainSocketTestDriver.java │ ├── Port.java │ ├── SocketModule.java │ ├── channels │ ├── AsyncServerSocket.java │ ├── AsyncServerSocketNoCompletionHander.java │ ├── AsyncServerTestModule.java │ ├── AsyncSocketMessageSender.java │ └── guice │ │ ├── AsyncSocketServerGuiceExample.java │ │ ├── AsynchronousServerModule.java │ │ ├── CustomCompletionHandler.java │ │ ├── EchoServer.java │ │ ├── EchoServerCompletionHandler.java │ │ └── GuiceAsyncDriver.java │ ├── files │ ├── directory │ │ ├── AsynchronousRecursiveDirectoryStream.java │ │ ├── FileDirectoryStream.java │ │ └── event │ │ │ ├── DirectoryEventModule.java │ │ │ ├── DirectoryEventWatcher.java │ │ │ ├── DirectoryEventWatcherImpl.java │ │ │ ├── DirectoryEventWatcherProvider.java │ │ │ ├── PathEvent.java │ │ │ └── PathEvents.java │ ├── event │ │ ├── PathEventContext.java │ │ └── PathEventSubscriber.java │ └── visitor │ │ ├── CleanDirVisitor.java │ │ ├── CopyDirVisitor.java │ │ ├── CopyPredicateVisitor.java │ │ ├── DeleteDirVisitor.java │ │ ├── DirFunctionVisitor.java │ │ └── FunctionVisitor.java │ ├── sockets │ ├── PlainServerSocket.java │ ├── PlainSocket.java │ ├── PlainSocketMessageSender.java │ └── PlainSocketModule.java │ └── util │ ├── DirUtils.java │ ├── FileGenerator.java │ └── FilterBuilder.java └── test └── java └── bbejeck └── nio ├── channels └── AsyncSocketServerComparisonTest.java ├── files ├── BaseFileTest.java ├── DirectoryStreamTest.java ├── FilesCopyMoveTest.java ├── PathsTest.java ├── directory │ ├── AsynchronousRecursiveDirectoryStreamTest.java │ ├── FileDirectoryStreamTest.java │ └── event │ │ ├── DirectoryEventWatcherGuiceTest.java │ │ └── DirectoryEventWatcherImplTest.java └── watch │ └── WatchDirectoryTest.java └── util └── DirUtilsTest.java /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/.gitignore -------------------------------------------------------------------------------- /License.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/License.txt -------------------------------------------------------------------------------- /README.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/README.txt -------------------------------------------------------------------------------- /pom.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/pom.xml -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/AsyncSocketTestDriver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/AsyncSocketTestDriver.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/Host.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/Host.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/MessageCount.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/MessageCount.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/PlainSocketTestDriver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/PlainSocketTestDriver.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/Port.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/Port.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/SocketModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/SocketModule.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/AsyncServerSocket.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/AsyncServerSocket.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/AsyncServerSocketNoCompletionHander.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/AsyncServerSocketNoCompletionHander.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/AsyncServerTestModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/AsyncServerTestModule.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/AsyncSocketMessageSender.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/AsyncSocketMessageSender.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/guice/AsyncSocketServerGuiceExample.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/guice/AsyncSocketServerGuiceExample.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/guice/AsynchronousServerModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/guice/AsynchronousServerModule.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/guice/CustomCompletionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/guice/CustomCompletionHandler.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/guice/EchoServer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/guice/EchoServer.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/guice/EchoServerCompletionHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/guice/EchoServerCompletionHandler.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/channels/guice/GuiceAsyncDriver.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/channels/guice/GuiceAsyncDriver.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/AsynchronousRecursiveDirectoryStream.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/AsynchronousRecursiveDirectoryStream.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/FileDirectoryStream.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/FileDirectoryStream.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/event/DirectoryEventModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/event/DirectoryEventModule.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/event/DirectoryEventWatcher.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/event/DirectoryEventWatcher.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherImpl.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherImpl.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherProvider.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/event/PathEvent.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/event/PathEvent.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/directory/event/PathEvents.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/directory/event/PathEvents.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/event/PathEventContext.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/event/PathEventContext.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/event/PathEventSubscriber.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/event/PathEventSubscriber.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/visitor/CleanDirVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/visitor/CleanDirVisitor.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/visitor/CopyDirVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/visitor/CopyDirVisitor.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/visitor/CopyPredicateVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/visitor/CopyPredicateVisitor.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/visitor/DeleteDirVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/visitor/DeleteDirVisitor.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/visitor/DirFunctionVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/visitor/DirFunctionVisitor.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/files/visitor/FunctionVisitor.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/files/visitor/FunctionVisitor.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/sockets/PlainServerSocket.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/sockets/PlainServerSocket.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/sockets/PlainSocket.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/sockets/PlainSocket.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/sockets/PlainSocketMessageSender.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/sockets/PlainSocketMessageSender.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/sockets/PlainSocketModule.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/sockets/PlainSocketModule.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/util/DirUtils.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/util/DirUtils.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/util/FileGenerator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/util/FileGenerator.java -------------------------------------------------------------------------------- /src/main/java/bbejeck/nio/util/FilterBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/main/java/bbejeck/nio/util/FilterBuilder.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/channels/AsyncSocketServerComparisonTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/channels/AsyncSocketServerComparisonTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/BaseFileTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/BaseFileTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/DirectoryStreamTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/DirectoryStreamTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/FilesCopyMoveTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/FilesCopyMoveTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/PathsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/PathsTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/directory/AsynchronousRecursiveDirectoryStreamTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/directory/AsynchronousRecursiveDirectoryStreamTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/directory/FileDirectoryStreamTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/directory/FileDirectoryStreamTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherGuiceTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherGuiceTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherImplTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/directory/event/DirectoryEventWatcherImplTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/files/watch/WatchDirectoryTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/files/watch/WatchDirectoryTest.java -------------------------------------------------------------------------------- /src/test/java/bbejeck/nio/util/DirUtilsTest.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bbejeck/Java-7/HEAD/src/test/java/bbejeck/nio/util/DirUtilsTest.java --------------------------------------------------------------------------------