de.erichseifert.gral.io.data
Class DataWriterFactory
java.lang.Object
de.erichseifert.gral.io.AbstractIOFactory<DataWriter>
de.erichseifert.gral.io.data.DataWriterFactory
- All Implemented Interfaces:
- IOFactory<DataWriter>
public class DataWriterFactory
- extends AbstractIOFactory<DataWriter>
A factory class that produces DataWriter
instances for a
specified format. The produced writers can be used to output a
DataSource
to a data sink.
getInstance
public static DataWriterFactory getInstance()
- Returns the instance of the factory.
- Returns:
- Instance of the factory.
get
public DataWriter 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.