Package moss
Class SDfileWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
moss.TableWriter
moss.GraphWriter
moss.SDfileWriter
- All Implemented Interfaces:
Closeable
,Flushable
,Serializable
,Appendable
,AutoCloseable
Class for writers for structure-data files (SDfile, Elsevier MDL).
- Since:
- 2007.02.24
- 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
Constructors -
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
-
Constructor Details
-
SDfileWriter
Create a writer for SDfiles.- Parameters:
writer
- the writer to write tomode
- the write mode- Since:
- 2007.03.04 (Christian Borgelt)
-
-
Method Details
-
writeHeader
Write a header.This function does nothing, since headers are not supported with SDfiles.
- 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.03.04 (Christian Borgelt)
-