Class TestChecksumProcessor
- java.lang.Object
-
- org.eclipse.aether.internal.test.util.TestChecksumProcessor
-
- All Implemented Interfaces:
org.eclipse.aether.spi.io.ChecksumProcessor
public class TestChecksumProcessor extends java.lang.Object implements org.eclipse.aether.spi.io.ChecksumProcessor
A simple file processor implementation to help satisfy component requirements during tests.
-
-
Constructor Summary
Constructors Constructor Description TestChecksumProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringreadChecksum(java.nio.file.Path checksumFile)voidwriteChecksum(java.nio.file.Path checksumFile, java.lang.String checksum)
-
-
-
Constructor Detail
-
TestChecksumProcessor
public TestChecksumProcessor()
-
-
Method Detail
-
readChecksum
public java.lang.String readChecksum(java.nio.file.Path checksumFile) throws java.io.IOException
- Specified by:
readChecksumin interfaceorg.eclipse.aether.spi.io.ChecksumProcessor- Throws:
java.io.IOException
-
writeChecksum
public void writeChecksum(java.nio.file.Path checksumFile, java.lang.String checksum) throws java.io.IOException
- Specified by:
writeChecksumin interfaceorg.eclipse.aether.spi.io.ChecksumProcessor- Throws:
java.io.IOException
-
-