|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.vizzini.database.Exporter
public class Exporter
Provides database record export functionality.
Constructor Summary | |
---|---|
Exporter()
|
Method Summary | |
---|---|
static void |
exportXML(Writer writer,
IDatabase database)
Export all records from the given database. |
static void |
exportXML(Writer writer,
List records)
Export the given records and their related records. |
protected static void |
printList(String title,
List rows)
|
protected static void |
writeHeader(Writer writer)
Write the XML header to the given writer. |
protected static void |
writeRecords(Writer writer,
Collection records)
Export the given records, and their related records, from the given database. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Exporter()
Method Detail |
---|
public static void exportXML(Writer writer, IDatabase database) throws IOException, SQLException
IOException
SQLException
public static void exportXML(Writer writer, List records) throws IOException, SQLException
IOException
SQLException
protected static void printList(String title, List rows)
protected static void writeHeader(Writer writer) throws IOException
IOException
protected static void writeRecords(Writer writer, Collection records) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2007 Vizzini.org. All Rights Reserved. | 2007.12.25.03.00.02 |