CopyProcess cp = new CopyProcess(entry, target); FutureTask<Path> copyTask = new FutureTask<Path>(cp); executorService.submit(copyTask);
CopyProcess cp = new CopyProcess(entry, target); FutureTask<Path> copyTask = new FutureTask<Path>(cp); executorService.submit(copyTask);