Package moss
Class LineWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
moss.TableWriter
moss.GraphWriter
moss.LineWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Serializable
,Appendable
,AutoCloseable
Class for writers for simple table formats for graph data sets.
- Since:
- 2007.03.04
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
read/write mode mask: table input formatsprotected static final String[][]
the field names for the different file typesFields inherited from class moss.GraphWriter
cabs, crel, desc, DIRECTED, edges, graph, GRAPHS, mode, name, nodes, ntn, sabs, srel, SUBS, value
Fields inherited from class moss.TableWriter
fldsep, recsep
-
Constructor Summary
ConstructorsConstructorDescriptionLineWriter
(Writer writer, int mode, Notation ntn) Create a simple table format writer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Write a description of the current graph.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
-
Field Details
-
FMTMASK
public static final int FMTMASKread/write mode mask: table input formats- See Also:
-
HEADER
the field names for the different file types
-
-
Constructor Details
-
LineWriter
Create a simple table format writer.- Parameters:
writer
- the writer to write tomode
- the write modentn
- the notation for the graph descriptions- Since:
- 2007.03.04 (Christian Borgelt)
-
-
Method Details
-
writeHeader
Write a header.- Specified by:
writeHeader
in classGraphWriter
- Throws:
IOException
- if an i/o error occurs- Since:
- 2007.03.04 (Christian Borgelt)
-
writeGraph
Write a description of the current graph.- Specified by:
writeGraph
in classGraphWriter
- Throws:
IOException
- if an i/o error occurs- Since:
- 2007.02.24 (Christian Borgelt)
-