@Named public class DefaultFileProcessor extends Object implements org.eclipse.aether.spi.io.FileProcessor
| Constructor and Description |
|---|
DefaultFileProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(File source,
File target) |
long |
copy(File source,
File target,
org.eclipse.aether.spi.io.FileProcessor.ProgressListener listener) |
boolean |
mkdirs(File directory)
Thread-safe variant of
File.mkdirs(). |
void |
move(File source,
File target) |
void |
write(File target,
InputStream source) |
void |
write(File target,
String data) |
public boolean mkdirs(File directory)
File.mkdirs(). Creates the directory named by the given abstract pathname,
including any necessary but nonexistent parent directories. Note that if this operation fails it may have
succeeded in creating some of the necessary parent directories.mkdirs in interface org.eclipse.aether.spi.io.FileProcessordirectory - The directory to create, may be null.true if and only if the directory was created, along with all necessary parent directories;
false otherwisepublic void write(File target, String data) throws IOException
write in interface org.eclipse.aether.spi.io.FileProcessorIOExceptionpublic void write(File target, InputStream source) throws IOException
write in interface org.eclipse.aether.spi.io.FileProcessorIOExceptionpublic void copy(File source, File target) throws IOException
copy in interface org.eclipse.aether.spi.io.FileProcessorIOExceptionpublic long copy(File source, File target, org.eclipse.aether.spi.io.FileProcessor.ProgressListener listener) throws IOException
copy in interface org.eclipse.aether.spi.io.FileProcessorIOExceptionpublic void move(File source, File target) throws IOException
move in interface org.eclipse.aether.spi.io.FileProcessorIOExceptionCopyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.