PropertyBag QEProperties = new PropertyBag(); QEProperties.put(PropertyBagHelper.CONNINFO_DATABASE_DLL, "crdb_dbtype.dll"); QEProperties.put(PropertyBagHelper.CONNINFO_SERVER_NAME, "DBName"); QEProperties.put(PropertyBagHelper.CONNINFO_SERVER_TYPE, "User friendly database type description");
QEProperties.putStringValue("Local XML File", "C:\\customer.xml");
QEProperties.putStringValue("Local Schema File", "C:\\customer.xsd");
QEProperties.put("Convert Mulitivalue to Table", false);PropertyBag QEProperties = connectionInfo.getAttributes();
java.util.Iterator it = QEProperties.keySet().iterator();
while (it.hasNext())
{
Object key = it.next();
Object value = QEProperties.get(key);
out.println(key.toString() + " = " + value.toString() + " (" + value.getClass().getName() + ")<br>");
}
|
Business Objects, an SAP company http://www.businessobjects.com/ Support services http://www.businessobjects.com/services/support/ Product Documentation on the Web http://support.businessobjects.com/documentation/ |