org.enableit.db.darrt
Class XmlDataParser

java.lang.Object
  |
  +--org.enableit.db.darrt.XmlDataParser
All Implemented Interfaces:
DataParser

public class XmlDataParser
extends java.lang.Object
implements DataParser

Author:
tim.stephenson

Constructor Summary
XmlDataParser()
          Default constructor.
 
Method Summary
 org.enableit.db.beans.RowSet getRowSet(java.io.InputStream is, org.enableit.db.beans.Table table)
          Convert an input stream of CSV data for the specified table into a structured format of a RowSet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlDataParser

public XmlDataParser()
Default constructor.

Method Detail

getRowSet

public org.enableit.db.beans.RowSet getRowSet(java.io.InputStream is,
                                              org.enableit.db.beans.Table table)
                                       throws java.io.IOException,
                                              DBException
Convert an input stream of CSV data for the specified table into a structured format of a RowSet.

Specified by:
getRowSet in interface DataParser
Parameters:
is - Any Reader wrapper to input stream.
table - The name of the target Table for the RowSet.
Returns:
A RowSet instance holding the data from the InputStream.
Throws:
java.io.IOException
DBException


Copyright © 1999-2004 enableIT.org. All Rights Reserved.