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

Class AbstractDataWriter

    • Constructor Summary

      Constructors 
      Constructor and Description
      AbstractDataWriter(java.lang.String mimeType)
      Initializes a new writer with MIME type information.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      java.lang.String getMimeType()
      Returns the MIME type.
      <T> T getSetting(java.lang.String key)
      Returns the setting for the specified key.
      <T> void setSetting(java.lang.String key, T value)
      Sets the setting for the specified key.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface de.erichseifert.gral.io.data.DataWriter

        write
    • Constructor Detail

      • AbstractDataWriter

        public AbstractDataWriter(java.lang.String mimeType)
        Initializes a new writer with MIME type information.
        Parameters:
        mimeType - MIME type
    • Method Detail

      • getMimeType

        public java.lang.String getMimeType()
        Returns the MIME type.
        Returns:
        MIME type string.
      • getSetting

        public <T> T getSetting(java.lang.String key)
        Returns the setting for the specified key.
        Specified by:
        getSetting in interface DataWriter
        Type Parameters:
        T - return type
        Parameters:
        key - key of the setting
        Returns:
        the value of the setting
      • setSetting

        public <T> void setSetting(java.lang.String key,
                                   T value)
        Sets the setting for the specified key.
        Specified by:
        setSetting in interface DataWriter
        Type Parameters:
        T - value type
        Parameters:
        key - key of the setting
        value - value of the setting

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.