@ Override public boolean fileCreated ( File file ) throws WatchingException { if ( WatcherUtils . isInDirectory ( file , internalSources ) ) { processDirectory ( internalSources , destinationForInternals ) ; } else if ( WatcherUtils . isInDirectory ( file , externalSources ) ) { processDirectory ( externalSources , destinationForExternals ) ; } return true ; }
A file is created - process it .