Class 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.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String readChecksum​(java.nio.file.Path checksumFile)  
      void writeChecksum​(java.nio.file.Path checksumFile, java.lang.String checksum)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • readChecksum

        public java.lang.String readChecksum​(java.nio.file.Path checksumFile)
                                      throws java.io.IOException
        Specified by:
        readChecksum in interface org.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:
        writeChecksum in interface org.eclipse.aether.spi.io.ChecksumProcessor
        Throws:
        java.io.IOException