Documentation of 'org.jfree.data.xml.DatasetReader' Java class
DatasetReader
org.jfree.data.xml

Class DatasetReader



  • public class DatasetReader
    extends java.lang.Object
    A utility class for reading datasets from XML.
    • Constructor Detail

      • DatasetReader

        public DatasetReader()
    • Method Detail

      • readPieDatasetFromXML

        public static PieDataset readPieDatasetFromXML(java.io.File file)
                                                throws java.io.IOException
        Reads a PieDataset from an XML file.
        Parameters:
        file - the file.
        Returns:
        A dataset.
        Throws:
        java.io.IOException - if there is a problem reading the file.
      • readPieDatasetFromXML

        public static PieDataset readPieDatasetFromXML(java.io.InputStream in)
                                                throws java.io.IOException
        Reads a PieDataset from a stream.
        Parameters:
        in - the input stream.
        Returns:
        A dataset.
        Throws:
        java.io.IOException - if there is an I/O error.
      • readCategoryDatasetFromXML

        public static CategoryDataset readCategoryDatasetFromXML(java.io.File file)
                                                          throws java.io.IOException
        Reads a CategoryDataset from a file.
        Parameters:
        file - the file.
        Returns:
        A dataset.
        Throws:
        java.io.IOException - if there is a problem reading the file.
      • readCategoryDatasetFromXML

        public static CategoryDataset readCategoryDatasetFromXML(java.io.InputStream in)
                                                          throws java.io.IOException
        Reads a CategoryDataset from a stream.
        Parameters:
        in - the stream.
        Returns:
        A dataset.
        Throws:
        java.io.IOException - if there is a problem reading the file.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.