org.eclipse.aether.spi.io.FileProcessor@Named public class DefaultFileProcessor extends java.lang.Object implements org.eclipse.aether.spi.io.FileProcessor
| Constructor | Description |
|---|---|
DefaultFileProcessor() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
copy(java.io.File source,
java.io.File target) |
|
long |
copy(java.io.File source,
java.io.File target,
org.eclipse.aether.spi.io.FileProcessor.ProgressListener listener) |
|
boolean |
mkdirs(java.io.File directory) |
Thread-safe variant of
File.mkdirs(). |
void |
move(java.io.File source,
java.io.File target) |
|
void |
write(java.io.File target,
java.io.InputStream source) |
|
void |
write(java.io.File target,
java.lang.String data) |
public DefaultFileProcessor()
public boolean mkdirs(java.io.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(java.io.File target, java.lang.String data) throws java.io.IOException
write in interface org.eclipse.aether.spi.io.FileProcessorjava.io.IOExceptionpublic void write(java.io.File target, java.io.InputStream source) throws java.io.IOException
write in interface org.eclipse.aether.spi.io.FileProcessorjava.io.IOExceptionpublic void copy(java.io.File source, java.io.File target) throws java.io.IOException
copy in interface org.eclipse.aether.spi.io.FileProcessorjava.io.IOExceptionpublic long copy(java.io.File source, java.io.File target, org.eclipse.aether.spi.io.FileProcessor.ProgressListener listener) throws java.io.IOException
copy in interface org.eclipse.aether.spi.io.FileProcessorjava.io.IOExceptionpublic void move(java.io.File source, java.io.File target) throws java.io.IOException
move in interface org.eclipse.aether.spi.io.FileProcessorjava.io.IOException