Class ClaimStatistic.SerDes
java.lang.Object
org.apache.rat.report.claim.ClaimStatistic.SerDes
- Enclosing class:
ClaimStatistic
Serialize and deserialize the claim Statistic.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(org.apache.commons.io.function.IOSupplier<InputStream> inputStreamSupplier) Deserializes a ClaimStatistic from an input stream.voidserialize(Appendable appendable) Serializes the claim statistic into an appendable.
-
Constructor Details
-
SerDes
public SerDes()
-
-
Method Details
-
serialize
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.
-