org.basex.io
Class TableOutput
java.lang.Object
java.io.OutputStream
java.io.FileOutputStream
org.basex.io.TableOutput
- All Implemented Interfaces:
- Closeable, Flushable
public final class TableOutput
- extends FileOutputStream
This class allows a blockwise output of the database table.
- Author:
- Workgroup DBIS, University of Konstanz 2005-10, ISC License, Christian Gruen, Tim Petrowsky
TableOutput
public TableOutput(MetaData md,
String fn)
throws IOException
- Initializes the output.
The database suffix will be added to all filenames.
- Parameters:
md - meta datafn - the file to be written to
- Throws:
IOException - IO Exception
write
public void write(int b)
throws IOException
- Overrides:
write in class FileOutputStream
- Throws:
IOException
flush
public void flush()
throws IOException
- Specified by:
flush in interface Flushable- Overrides:
flush in class OutputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class FileOutputStream
- Throws:
IOException