Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.result.textwriter
Class TextWriterWriterInterface<O>

java.lang.Object
  extended by 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

Constructor Summary
TextWriterWriterInterface()
           
 
Method Summary
abstract  void write(TextWriterStream out, String label, O object)
          Write a given object to the output stream.
 void writeObject(TextWriterStream out, String label, Object object)
          Non-type-checking version.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextWriterWriterInterface

public TextWriterWriterInterface()
Method Detail

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

Release 0.2.1 (2009-07-13_1605)