Class XMLDistributionWriter


  • public class XMLDistributionWriter
    extends java.lang.Object
    Writes an OrderNDistribution or simple Distribution to an XML file.
    Since:
    1.3
    Author:
    Russell Smithies, Mark Schreiber
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeDistribution​(Distribution d, java.io.OutputStream os)
      Writes an OrderNDistribution or simple Distribution to an XML file.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XMLDistributionWriter

        public XMLDistributionWriter()
    • Method Detail

      • writeDistribution

        public void writeDistribution​(Distribution d,
                                      java.io.OutputStream os)
                               throws java.io.IOException
        Writes an OrderNDistribution or simple Distribution to an XML file.
        Parameters:
        d - Distribution to write.
        os - OutputStream to write to.
        Throws:
        java.io.IOException - if an error occurs during writing