org.jfree.data.xml
public class DatasetReader extends Object
Method Summary | |
---|---|
static CategoryDataset | readCategoryDatasetFromXML(File file)
Reads a CategoryDataset from a file.
|
static CategoryDataset | readCategoryDatasetFromXML(InputStream in)
Reads a CategoryDataset from a stream.
|
static PieDataset | readPieDatasetFromXML(File file)
Reads a PieDataset from an XML file.
|
static PieDataset | readPieDatasetFromXML(InputStream in)
Reads a PieDataset from a stream.
|
Parameters: file the file.
Returns: A dataset.
Throws: IOException if there is a problem reading the file.
Parameters: in the stream.
Returns: A dataset.
Throws: IOException if there is a problem reading the file.
Parameters: file the file.
Returns: A dataset.
Throws: IOException if there is a problem reading the file.
Parameters: in the input stream.
Returns: A dataset.
Throws: IOException if there is an I/O error.