Class ClaimStatistic.SerDes

java.lang.Object
org.apache.rat.report.claim.ClaimStatistic.SerDes
Enclosing class:
ClaimStatistic

public class ClaimStatistic.SerDes extends Object
Serialize and deserialize the claim Statistic.
  • Constructor Details

    • SerDes

      public SerDes()
  • Method Details

    • serialize

      public void serialize(Appendable appendable) throws IOException
      Serializes the claim statistic into an appendable.
      Parameters:
      appendable - the appendable to write to.
      Throws:
      IOException - on error.
    • deserialize

      public void deserialize(org.apache.commons.io.function.IOSupplier<InputStream> inputStreamSupplier) throws IOException
      Deserializes a ClaimStatistic from an input stream.
      Parameters:
      inputStreamSupplier - the supplier of the input stream to deserialize from.
      Throws:
      IOException - on error.