Class ReportConfiguration.SerDes

java.lang.Object
org.apache.rat.ReportConfiguration.SerDes
Enclosing class:
ReportConfiguration

public class ReportConfiguration.SerDes extends Object
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 Details

    • SerDes

      public SerDes()
  • Method Details

    • serialize

      public void serialize(Appendable appendable) throws IOException
      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