Class RequestBundleExport

java.lang.Object
org.aktin.broker.download.RequestBundleExport

public class RequestBundleExport
extends Object
  • Constructor Details

    • RequestBundleExport

      public RequestBundleExport​(BrokerBackend backend) throws javax.xml.bind.JAXBException
      Throws:
      javax.xml.bind.JAXBException
  • Method Details

    • setAggregator

      public void setAggregator​(AggregatorBackend aggregator)
      Set the aggregator. Used to include submitted result data in exports.
      Parameters:
      aggregator - aggergator
    • guessFileExtension

      public static String guessFileExtension​(String mediaType)
    • createBundle

      public void createBundle​(int requestId, OutputStream dest) throws IOException
      Throws:
      IOException
    • createBundle

      public void createBundle​(int requestId, Path path) throws IOException
      Throws:
      IOException