public class TestFileProcessor extends Object implements FileProcessor
FileProcessor.ProgressListener| Constructor and Description |
|---|
TestFileProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(File source,
File target) |
long |
copy(File source,
File target,
FileProcessor.ProgressListener listener) |
boolean |
mkdirs(File directory) |
void |
move(File source,
File target) |
void |
write(File target,
InputStream source) |
void |
write(File file,
String data) |
public TestFileProcessor()
public boolean mkdirs(File directory)
mkdirs in interface FileProcessorpublic void write(File file, String data) throws IOException
write in interface FileProcessorIOExceptionpublic void write(File target, InputStream source) throws IOException
write in interface FileProcessorIOExceptionpublic void copy(File source, File target) throws IOException
copy in interface FileProcessorIOExceptionpublic long copy(File source, File target, FileProcessor.ProgressListener listener) throws IOException
copy in interface FileProcessorIOExceptionpublic void move(File source, File target) throws IOException
move in interface FileProcessorIOExceptionCopyright © 2010–2021 The Apache Software Foundation. All rights reserved.