public class TestFileProcessor extends Object implements org.eclipse.aether.spi.io.FileProcessor
Constructor and Description |
---|
TestFileProcessor() |
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) |
void |
move(File source,
File target) |
String |
readChecksum(File checksumFile) |
void |
write(File target,
InputStream source) |
void |
write(File file,
String data) |
void |
writeChecksum(File checksumFile,
String checksum) |
public TestFileProcessor()
public boolean mkdirs(File directory)
mkdirs
in interface org.eclipse.aether.spi.io.FileProcessor
public void write(File file, String data) throws IOException
write
in interface org.eclipse.aether.spi.io.FileProcessor
IOException
public void write(File target, InputStream source) throws IOException
write
in interface org.eclipse.aether.spi.io.FileProcessor
IOException
public void copy(File source, File target) throws IOException
copy
in interface org.eclipse.aether.spi.io.FileProcessor
IOException
public long copy(File source, File target, org.eclipse.aether.spi.io.FileProcessor.ProgressListener listener) throws IOException
copy
in interface org.eclipse.aether.spi.io.FileProcessor
IOException
public void move(File source, File target) throws IOException
move
in interface org.eclipse.aether.spi.io.FileProcessor
IOException
public String readChecksum(File checksumFile) throws IOException
readChecksum
in interface org.eclipse.aether.spi.io.FileProcessor
IOException
public void writeChecksum(File checksumFile, String checksum) throws IOException
writeChecksum
in interface org.eclipse.aether.spi.io.FileProcessor
IOException
Copyright © 2010–2022 The Apache Software Foundation. All rights reserved.