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(java.lang.String path,
java.io.File file)
Do 'something' with the given file.
|
@Nullable T process(java.lang.String path, java.io.File file) throws java.io.FileNotFoundException, java.io.IOException, java.lang.InterruptedException
path - The string that characterizes the filejava.io.FileNotFoundExceptionjava.io.IOExceptionjava.lang.InterruptedException