Class StreamStarTableWriter

  • All Implemented Interfaces:
    StarTableWriter

    public abstract class StreamStarTableWriter
    extends java.lang.Object
    implements StarTableWriter
    Partial implementation of StarTableWriter which can be subclassed by writers which just write to output streams.
    Since:
    8 Dec 2004
    Author:
    Mark Taylor (Starlink)
    • Constructor Detail

      • StreamStarTableWriter

        public StreamStarTableWriter()
    • Method Detail

      • writeStarTable

        public static void writeStarTable​(StarTableWriter writer,
                                          StarTable startab,
                                          java.lang.String location,
                                          StarTableOutput sto)
                                   throws java.io.IOException
        Utility method that writes a table to a location using a given output handler.
        Parameters:
        writer - output handler
        startab - table to write
        location - destination
        sto - output controller
        Throws:
        java.io.IOException