Interface MzTabWriter<T>

    • Method Detail

      • write

        Optional<Twrite​(OutputStreamWriter writer,
                          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,
                          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.