de.mguennewig.pobjimport
Class Exporter

java.lang.Object
  extended by de.mguennewig.pobjimport.Exporter

public class Exporter
extends java.lang.Object

Serializes the Container content into an XML file.

Author:
Michael Günnewig

Constructor Summary
Exporter(Container db)
          Creates a new Exporter.
 
Method Summary
 void writeFile(java.io.File file)
           
 void writeFile(java.io.File file, Module module)
           
 void writeStream(java.io.OutputStream stream)
           
 void writeStream(java.io.OutputStream stream, Module module)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Exporter

public Exporter(Container db)
Creates a new Exporter.

Parameters:
db - The database container of which tables should be exported.
Method Detail

writeFile

public final void writeFile(java.io.File file)
                     throws java.io.IOException
Throws:
java.io.IOException

writeFile

public final void writeFile(java.io.File file,
                            Module module)
                     throws java.io.IOException
Throws:
java.io.IOException

writeStream

public final void writeStream(java.io.OutputStream stream)
                       throws java.io.IOException
Throws:
java.io.IOException

writeStream

public final void writeStream(java.io.OutputStream stream,
                              Module module)
                       throws java.io.IOException
Throws:
java.io.IOException