public class DatasetReader extends Object
| Constructor and Description |
|---|
DatasetReader() |
| Modifier and Type | Method and Description |
|---|---|
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. |
public static PieDataset readPieDatasetFromXML(File file) throws IOException
PieDataset from an XML file.file - the file.IOException - if there is a problem reading the file.public static PieDataset readPieDatasetFromXML(InputStream in) throws IOException
PieDataset from a stream.in - the input stream.IOException - if there is an I/O error.public static CategoryDataset readCategoryDatasetFromXML(File file) throws IOException
CategoryDataset from a file.file - the file.IOException - if there is a problem reading the file.public static CategoryDataset readCategoryDatasetFromXML(InputStream in) throws IOException
CategoryDataset from a stream.in - the stream.IOException - if there is a problem reading the file.Copyright © 2001-2014 JFree.org. All Rights Reserved.