Documentation of 'de.erichseifert.gral.io.data.DataWriterFactory' Java class
DataWriterFactory
de.erichseifert.gral.io.data

Class DataWriterFactory

  • All Implemented Interfaces:
    IOFactory<DataWriter>


    public final 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.

    Example usage:

     DataWriterFactory factory = DataWriterFactory.getInstance();
     DataWriter writer = factory.get("image/png");
     writer.write(data);
     
    • Method Detail

      • getInstance

        public static DataWriterFactory getInstance()
        Returns the instance of the factory.
        Returns:
        Instance of the factory.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.