Interface MzTabWriter<T>

    • Method Detail

      • write

        Optional<Twrite​(OutputStreamWriter writer,
                          de.isas.mztab2.model.MzTab mzTab)
                   throws IOException

        Write the mzTab object to the provided output stream writer.

        This method does not close the output stream but will issue a flush on the provided output stream writer!
        Parameters:
        writer - a OutputStreamWriter object.
        mzTab - a MzTab object.
        Returns:
        the optional payload.
        Throws:
        IOException - if any errors occur during writing.
      • write

        Optional<Twrite​(Path path,
                          de.isas.mztab2.model.MzTab mzTab)
                   throws IOException

        Write the mzTab object to the provided path file.

        Parameters:
        path - a Path object.
        mzTab - a MzTab object.
        Returns:
        the optional payload.
        Throws:
        IOException - if any errors occur during writing.