Package org.eclipse.aether.internal.impl
Class DefaultChecksumProcessor
- java.lang.Object
-
- org.eclipse.aether.internal.impl.DefaultChecksumProcessor
-
- All Implemented Interfaces:
org.eclipse.aether.spi.io.ChecksumProcessor
@Singleton @Named public class DefaultChecksumProcessor extends java.lang.Object implements org.eclipse.aether.spi.io.ChecksumProcessor
A utility class helping with file-based operations.
-
-
Constructor Summary
Constructors Constructor Description DefaultChecksumProcessor(org.eclipse.aether.spi.io.PathProcessor pathProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringreadChecksum(java.nio.file.Path checksumPath)voidwriteChecksum(java.nio.file.Path target, java.lang.String checksum)
-
-
-
Constructor Detail
-
DefaultChecksumProcessor
@Inject public DefaultChecksumProcessor(org.eclipse.aether.spi.io.PathProcessor pathProcessor)
-
-
Method Detail
-
readChecksum
public java.lang.String readChecksum(java.nio.file.Path checksumPath) 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 target, java.lang.String checksum) throws java.io.IOException
- Specified by:
writeChecksumin interfaceorg.eclipse.aether.spi.io.ChecksumProcessor- Throws:
java.io.IOException
-
-