T
- The type that process(String, File)
returns; use "Void
" if not neededpublic interface FileProcessor<T>
File
.Modifier and Type | Method and Description |
---|---|
T |
process(String path,
File file)
Do 'something' with the given file.
|
@Nullable T process(String path, File file) throws FileNotFoundException, IOException, InterruptedException
path
- The string that characterizes the fileInterruptedException
- The processing was parallelized in multiple threads, and at least one of the
threads was interruptedFileNotFoundException
IOException
Copyright © 2018 Arno Unkrig. All rights reserved.