org.basex.io.out
Class TableOutput
java.lang.Object
java.io.OutputStream
org.basex.io.out.TableOutput
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public final class TableOutput
- extends java.io.OutputStream
This class allows a blockwise output of the database table.
- Author:
- BaseX Team 2005-12, BSD License, Christian Gruen, Tim Petrowsky
Methods inherited from class java.io.OutputStream |
write, write |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TableOutput
public TableOutput(MetaData md,
java.lang.String fn)
throws java.io.IOException
- Initializes the output.
The database suffix will be added to all filenames.
- Parameters:
md
- meta datafn
- the file to be written to
- Throws:
java.io.IOException
- I/O exception
write
public void write(int b)
throws java.io.IOException
- Specified by:
write
in class java.io.OutputStream
- Throws:
java.io.IOException
flush
public void flush()
throws java.io.IOException
- Specified by:
flush
in interface java.io.Flushable
- Overrides:
flush
in class java.io.OutputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.OutputStream
- Throws:
java.io.IOException