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

Interface DataWriter

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      <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.
      void write(DataSource data, java.io.OutputStream output)
      Stores the specified data source.
    • Method Detail

      • write

        void write(DataSource data,
                   java.io.OutputStream output)
            throws java.io.IOException
        Stores the specified data source.
        Parameters:
        data - DataSource to be stored.
        output - OutputStream to be written to.
        Throws:
        java.io.IOException - if writing the data failed
      • getSetting

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

        <T> void setSetting(java.lang.String key,
                            T value)
        Sets the setting for the specified key.
        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.