Technick.com S.r.l. - Open Source Software

XMLConfigReader

NameXMLConfigReader
Version1.0.003
Date2006-02-03
AuthorNicola Asuni
CopyrightTecnick.com S.r.l.
Via Ugo Foscolo n.19
09045 Quartu Sant'Elena (CA)
ITALY
www.tecnick.com
LicenseGNU LESSER GENERAL PUBLIC LICENSE v.2.1

Source Code and Documentation

Description

XMLConfigReader is an Open Source Java class extension of Java ResourceBundle class to read configuration data directly from an XML file.

XMLConfigReader reads structured resource text data from an XML file and store it on a hashtable.
The hashtable keys are taken from the value of the first attribute of the <item> elements.
The hash table values are hashtables containing the sub-items names as keys and the sub-items data as value.

You instantiate the XMLConfigReader class in a program to read data from a XML file. Once the class is instantiated, it reads all the data in a XML file and loads into a DOM (Document Object Model) tree. Then it populates a hashtable so the getString, getInt and getDouble methods can be called to find text information based on a key and subkey.


This project is shipped as Eclipse project, with classes compiled into the "classes" directory.
However a packaged version of this class is available as a JAR archive inside the www directory.
To install the JAR file, just copy it on your project classpath.

Documentation and examples are included on the distribution.

Download XMLConfigReader from SourceForge

Get XMLConfigReader at SourceForge.net. Fast, secure and Free Open Source software downloadsSupport This Project
name: password: [register]

| TXT | TXT+
The contents of this site are copyright © Tecnick.com s.r.l. All Rights Reserved.
Tecnick.com s.r.l. - Sede Legale: Via Della Pace, 11 – 09044 – Quartucciu (CA) – ITALY - Capitale Sociale € 10.000,00 i.v. - P. IVA e C.F.: 02574420929 - C.C.I.A.A.: CA-2000-19195 - R.E.A.: 208980

Powered by Tecnick.com AIOCP (All In One Control Panel) Tecnick.com is SUN Associate Partner Tecnick.com is Java.net Silver Partner

Valid XHTML 1.0! Valid CSS1! Level Double-A conformance icon, W3C-WAI Web Content Accessibility Guidelines 1.0 GetJava Download Button





Bookmark and Share


English Italian