| java.lang.Object org.webdocwf.util.xml.XmlReader
XmlReader | public class XmlReader (Code) | | Class load existing XML file, creating DOM from file or creating
new DOM.Class has methods for reading data from XML file.
author: Zoran Milakovic |
Constructor Summary | |
public | XmlReader(String fileName) Constructor will build Document from the specified file
if file exist, or will create new Document if file not exist. |
XmlReader | public XmlReader(String fileName) throws SQLException(Code) | | Constructor will build Document from the specified file
if file exist, or will create new Document if file not exist.
Parameters: fileName - full pathname of the XML file throws: SQLException - |
select | public void select(String tableName, String[] columnNames, String[] whereColumnNames, String[] whereColumnValues) throws SQLException(Code) | | Gets data from database.Method will fill array list which will be result set.
ArrayList will contain arrays of strings.Every array of string will present
one row in database.
Parameters: tableName - Name of table. Parameters: columnNames - Names of columns from which will be select data. Parameters: whereColumnNames - Names of columns in where conditions. Parameters: whereColumnValues - Values of conditions. throws: SQLException - |
|
|