org.basex.io
Class ConsoleOutput

java.lang.Object
  extended by java.io.OutputStream
      extended by org.basex.io.PrintOutput
          extended by org.basex.io.ConsoleOutput
All Implemented Interfaces:
java.io.Closeable, java.io.Flushable

public final class ConsoleOutput
extends PrintOutput

This class is a stream-wrapper for textual data. Note that the internal byte representation (usually UTF8) will be directly output without further character conversion.

Author:
Workgroup DBIS, University of Konstanz 2005-08, ISC License, Christian Gruen

Constructor Summary
ConsoleOutput(java.io.PrintStream out)
          Constructor given a print stream.
 
Method Summary
 void close()
           
 
Methods inherited from class org.basex.io.PrintOutput
finished, flush, print, print, print, print, print, println, println, println, size, write
 
Methods inherited from class java.io.OutputStream
write, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleOutput

public ConsoleOutput(java.io.PrintStream out)
Constructor given a print stream.

Parameters:
out - the PrintStream to operate on
Method Detail

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Overrides:
close in class PrintOutput
Throws:
java.io.IOException