Class TestFileProcessor
java.lang.Object
org.eclipse.aether.internal.test.util.TestFileProcessor
- All Implemented Interfaces:
org.eclipse.aether.spi.io.FileProcessor
A simple file processor implementation to help satisfy component requirements during tests.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.spi.io.FileProcessor
org.eclipse.aether.spi.io.FileProcessor.ProgressListener
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
long
boolean
void
readChecksum
(File checksumFile) void
write
(File target, InputStream source) void
void
writeChecksum
(File checksumFile, String checksum)
-
Constructor Details
-
TestFileProcessor
public TestFileProcessor()
-
-
Method Details
-
mkdirs
- Specified by:
mkdirs
in interfaceorg.eclipse.aether.spi.io.FileProcessor
-
write
- Specified by:
write
in interfaceorg.eclipse.aether.spi.io.FileProcessor
- Throws:
IOException
-
write
- Specified by:
write
in interfaceorg.eclipse.aether.spi.io.FileProcessor
- Throws:
IOException
-
copy
- Specified by:
copy
in interfaceorg.eclipse.aether.spi.io.FileProcessor
- Throws:
IOException
-
copy
public long copy(File source, File target, org.eclipse.aether.spi.io.FileProcessor.ProgressListener listener) throws IOException - Specified by:
copy
in interfaceorg.eclipse.aether.spi.io.FileProcessor
- Throws:
IOException
-
move
- Specified by:
move
in interfaceorg.eclipse.aether.spi.io.FileProcessor
- Throws:
IOException
-
readChecksum
- Specified by:
readChecksum
in interfaceorg.eclipse.aether.spi.io.FileProcessor
- Throws:
IOException
-
writeChecksum
- Specified by:
writeChecksum
in interfaceorg.eclipse.aether.spi.io.FileProcessor
- Throws:
IOException
-