Package moss

Class NEListWriter

All Implemented Interfaces:
Closeable, Flushable, Serializable, Appendable, AutoCloseable

public class NEListWriter extends GraphWriter
Class for writers for a simple node/edge list format.
Since:
2007.06.22
See Also:
  • Constructor Details

    • NEListWriter

      public NEListWriter(Writer writer, int mode)
      Create a writer for a simple node/edge list format.
      Parameters:
      writer - the writer to write to
      mode - the write mode
      Since:
      2007.06.22 (Christian Borgelt)
  • Method Details

    • writeHeader

      public void writeHeader() throws IOException
      Write a header.

      This function does nothing, since headers are not supported with a node/edge list format.

      Specified by:
      writeHeader in class GraphWriter
      Throws:
      IOException - if an i/o error occurs
      Since:
      2007.06.22 (Christian Borgelt)
    • writeGraph

      public void writeGraph() throws IOException
      Write the current graph description.
      Specified by:
      writeGraph in class GraphWriter
      Throws:
      IOException - if an i/o error occurs
      Since:
      2007.03.04 (Christian Borgelt)