Class ReportConfiguration.SerDes
java.lang.Object
org.apache.rat.ReportConfiguration.SerDes
- Enclosing class:
ReportConfiguration
Serializes the ReportConfiguration into an XML document that can be deserialized by the Serde.
Deserialized ReportConfigurations can not be executed as the reportable objects use named placeholders
and do not have access to the original object.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddeserialize(org.apache.commons.io.function.IOSupplier<InputStream> inputStreamSupplier, DocumentName workingDirectory) voidserialize(Appendable appendable) Writes the configuration as an XML document to the appendable.
-
Constructor Details
-
SerDes
public SerDes()
-
-
Method Details
-
serialize
Writes the configuration as an XML document to the appendable.- Parameters:
appendable- the Appendable to write to.- Throws:
IOException- on error.
-
deserialize
public void deserialize(org.apache.commons.io.function.IOSupplier<InputStream> inputStreamSupplier, DocumentName workingDirectory) throws IOException - Throws:
IOException
-