Package moss
Class NEListWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
moss.TableWriter
moss.GraphWriter
moss.NEListWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Serializable
,Appendable
,AutoCloseable
Class for writers for a simple node/edge list format.
- Since:
- 2007.06.22
- See Also:
-
Field Summary
Fields inherited from class moss.GraphWriter
cabs, crel, desc, DIRECTED, edges, FMTMASK, graph, GRAPHS, mode, name, nodes, ntn, sabs, srel, SUBS, value
Fields inherited from class moss.TableWriter
fldsep, HEADER, recsep
-
Constructor Summary
ConstructorsConstructorDescriptionNEListWriter
(Writer writer, int mode) Create a writer for a simple node/edge list format. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Write the current graph description.void
Write a header.Methods inherited from class moss.GraphWriter
createWriter, getMode, getNotation, setAbsCompl, setAbsSupp, setGraph, setName, setRelCompl, setRelSupp, setValue
Methods inherited from class moss.TableWriter
setChars, writeField, writeField, writeField
-
Constructor Details
-
NEListWriter
Create a writer for a simple node/edge list format.- Parameters:
writer
- the writer to write tomode
- the write mode- Since:
- 2007.06.22 (Christian Borgelt)
-
-
Method Details
-
writeHeader
Write a header.This function does nothing, since headers are not supported with a node/edge list format.
- Specified by:
writeHeader
in classGraphWriter
- Throws:
IOException
- if an i/o error occurs- Since:
- 2007.06.22 (Christian Borgelt)
-
writeGraph
Write the current graph description.- Specified by:
writeGraph
in classGraphWriter
- Throws:
IOException
- if an i/o error occurs- Since:
- 2007.03.04 (Christian Borgelt)
-