Class FileSourceHelper.DataAndDigest

java.lang.Object
io.helidon.config.FileSourceHelper.DataAndDigest
Enclosing class:
FileSourceHelper

public static final class FileSourceHelper.DataAndDigest extends Object
Data and digest of a file. Data in an instance are guaranteed to be paired - e.g. the digest is for the bytes provided.
  • Method Details

    • data

      public byte[] data()
      Data loaded from the file.
      Returns:
      bytes of the file
    • digest

      public byte[] digest()
      Digest of the data that was loaded.
      Returns:
      bytes of the digest