Interface ReportOutputWriterFactory


public interface ReportOutputWriterFactory
OSGi service for creating report output writers.
  • Method Summary

    Modifier and Type
    Method
    Description
    createWriter(Path path, Map<String,Object> settings)
    Creates a new writer for writing a report to the given path.
    Returns the mime type for the files created by writers created by this factory.
  • Method Details

    • createWriter

      ReportOutputWriter createWriter(Path path, Map<String,Object> settings) throws IOException
      Creates a new writer for writing a report to the given path.
      Parameters:
      path - The path to write the report to.
      settings - Optional properties for the output writer.
      Returns:
      A new report output writer.
      Throws:
      IOException - If an IOException occurs.
    • getMimeType

      String getMimeType()
      Returns the mime type for the files created by writers created by this factory.
      Returns:
      A file mime type.