de.erichseifert.gral.io.data
Class DataReaderFactory
java.lang.Object
de.erichseifert.gral.io.AbstractIOFactory<DataReader>
de.erichseifert.gral.io.data.DataReaderFactory
- All Implemented Interfaces:
- IOFactory<DataReader>
public class DataReaderFactory
- extends AbstractIOFactory<DataReader>
A factory class that produces DataReader
instances for a
specified format. The produced readers can be used to retrieve data from
an InputStream
and to get a DataSource
instance.
getInstance
public static DataReaderFactory getInstance()
- Returns the instance of the factory.
- Returns:
- Instance of the factory.
get
public DataReader get(String mimeType)
- Description copied from interface:
IOFactory
- Returns an object for reading or writing the specified format.
- Parameters:
mimeType
- MIME type.
- Returns:
- Reader or writer for the specified MIME type.
Copyright © 2009-2010. All Rights Reserved.