de.lmu.ifi.dbs.elki.result.textwriter
Class TextWriterWriterInterface<O>
java.lang.Object
de.lmu.ifi.dbs.elki.result.textwriter.TextWriterWriterInterface<O>
- Type Parameters:
O
-
- Direct Known Subclasses:
- TextWriterDatabaseObjectInline, TextWriterObjectComment, TextWriterObjectInline, TextWriterPair, TextWriterTextWriteable, TextWriterTriple, TextWriterVector
public abstract class TextWriterWriterInterface<O>
- extends Object
Base class for object writers.
- Author:
- Erich Schubert
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextWriterWriterInterface
public TextWriterWriterInterface()
write
public abstract void write(TextWriterStream out,
String label,
O object)
throws UnableToComplyException,
IOException
- Write a given object to the output stream.
- Parameters:
out
- label
- object
-
- Throws:
UnableToComplyException
IOException
writeObject
public final void writeObject(TextWriterStream out,
String label,
Object object)
throws UnableToComplyException,
IOException
- Non-type-checking version.
- Parameters:
out
- label
- object
-
- Throws:
UnableToComplyException
IOException