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. It implements the
deprecated
FileProcessor SPI on purpose, referenced by its fully qualified name as javac reports an import
of a deprecated type with --release 8.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.spi.io.FileProcessor
org.eclipse.aether.spi.io.FileProcessor.ProgressListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlongbooleanvoidreadChecksum(File checksumFile) voidwrite(File target, InputStream source) voidvoidwriteChecksum(File checksumFile, String checksum)
-
Constructor Details
-
TestFileProcessor
public TestFileProcessor()
-
-
Method Details
-
mkdirs
-
write
- Specified by:
writein interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
write
- Specified by:
writein interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
copy
- Specified by:
copyin 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:
copyin interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
move
- Specified by:
movein interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
readChecksum
- Specified by:
readChecksumin interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-
writeChecksum
- Specified by:
writeChecksumin interfaceorg.eclipse.aether.spi.io.FileProcessor- Throws:
IOException
-