public final class ConceptLatticeSerializerDot extends Object implements Writer<ConceptLattice>
This class defines the way for writing a concept lattice as a dot file.
Modifier and Type | Method and Description |
---|---|
static ConceptLatticeSerializerDot |
getInstance()
Return the singleton instance of this class.
|
static void |
register()
Register this class for writing .dot files.
|
void |
write(ConceptLattice lattice,
BufferedWriter file)
Write a graph to a output stream.
|
public static ConceptLatticeSerializerDot getInstance()
Return the singleton instance of this class.
public static void register()
Register this class for writing .dot files.
public void write(ConceptLattice lattice, BufferedWriter file) throws IOException
Write a graph to a output stream.
write
in interface Writer<ConceptLattice>
lattice
- a concept lattice to writefile
- a fileIOException
- When an IOException occursCopyright © 2010–2016 The Galactic Organization. All rights reserved.