Documentation of 'de.erichseifert.gral.io.IOFactory' Java class
IOFactory
de.erichseifert.gral.io

Interface IOFactory<T>

  • Type Parameters:
    T - Class of the objects produced by the factory.
    All Known Implementing Classes:
    AbstractIOFactory, DataReaderFactory, DataWriterFactory, DrawableWriterFactory


    public interface IOFactory<T>
    Interface for factories producing input (reader) or output (writer) classes. This is be used to create a extensible plug-in system for reading or writing data.
    • Method Detail

      • get

        T get(java.lang.String mimeType)
        Returns an object for reading or writing the specified format.
        Parameters:
        mimeType - MIME type.
        Returns:
        Reader or writer for the specified MIME type.
      • getCapabilities

        IOCapabilities getCapabilities(java.lang.String mimeType)
        Returns the capabilities for a specific format.
        Parameters:
        mimeType - MIME type of the format
        Returns:
        Capabilities for the specified format.
      • getCapabilities

        java.util.List<IOCapabilities> getCapabilities()
        Returns a list of capabilities for all supported formats.
        Returns:
        Supported capabilities.
      • getSupportedFormats

        java.lang.String[] getSupportedFormats()
        Returns an array of Strings containing all supported formats.
        Returns:
        Supported formats.
      • isFormatSupported

        boolean isFormatSupported(java.lang.String mimeType)
        Returns whether the specified MIME type is supported.
        Parameters:
        mimeType - MIME type.
        Returns:
        true if supported, otherwise false.

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.