Interface SavotDataWriter

  • All Superinterfaces:
    java.lang.AutoCloseable, java.io.Closeable, java.io.Flushable
    All Known Implementing Classes:
    DataBinaryWriter

    public interface SavotDataWriter
    extends java.io.Closeable, java.io.Flushable
    Common interface of a writer of the data of a VOTable DATA node (whatever is its child node: FITS, BINARY or TABLEDATA).
    Since:
    09/2011
    Author:
    Gregory Mantelet
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void writeTR​(SavotTR row)
      Writes the given row.
      void writeTRSet​(TRSet rows)
      Writes the given rows.
      • Methods inherited from interface java.io.Closeable

        close
      • Methods inherited from interface java.io.Flushable

        flush
    • Method Detail

      • writeTR

        void writeTR​(SavotTR row)
              throws java.io.IOException
        Writes the given row.
        Parameters:
        row - Row to write.
        Throws:
        java.io.IOException - If there is an error while writing the given row.
      • writeTRSet

        void writeTRSet​(TRSet rows)
                 throws java.io.IOException
        Writes the given rows.
        Parameters:
        rows - Rows to write.
        Throws:
        java.io.IOException - If there is an error while writing the given rows.