| CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 26 Dec 2025 18:39:14 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20070708133256
location: https://web.archive.org/web/20070708133256/https://xmlconfigreader.dev.java.net/
server-timing: captures_list;dur=4.205162, exclusion.robots;dur=0.036544, exclusion.robots.policy;dur=0.027939, esindex;dur=0.010709, cdx.remote;dur=46.950752, LoadShardBlock;dur=199.987976, PetaboxLoader3.datanode;dur=59.113572, PetaboxLoader3.resolve;dur=126.707126
x-app-server: wwwb-app244-dc8
x-ts: 302
x-tr: 279
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app244; path=/
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 26 Dec 2025 18:39:15 GMT
content-type: text/html;charset=UTF-8
x-archive-orig-date: Sun, 08 Jul 2007 13:32:56 GMT
x-archive-orig-server: Apache
x-archive-orig-x-powered-by: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5
x-archive-orig-pragma:
x-archive-orig-cache-control: private,max-age=0,must-revalidate
x-archive-orig-helmloginid: guest
x-archive-orig-connection: close
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Sun, 08 Jul 2007 13:32:56 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: IA-AROUND-THE-WORLD-2007-20070708130538-16718-crawling04-c/IA-AROUND-THE-WORLD-2007-20070708131903-24023-crawling01.us.archive.org.arc.gz
server-timing: captures_list;dur=0.697133, exclusion.robots;dur=0.021835, exclusion.robots.policy;dur=0.008808, esindex;dur=0.012677, cdx.remote;dur=118.509502, LoadShardBlock;dur=101.610132, PetaboxLoader3.datanode;dur=329.450350, PetaboxLoader3.resolve;dur=114.983439, load_resource;dur=380.062534
x-app-server: wwwb-app244-dc8
x-ts: 200
x-tr: 649
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-as: 14061
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
xmlconfigreader: Home
|
xmlconfigreader
|
| Summary | class to read configuration data directly from an XML file |
|---|---|
| Categories | None |
| License | Lesser General Public License (LGPL) |
| Owner(s) | nicolaasuni |
| Name | XMLConfigReader |
| Version | 1.0.003 |
| Date | 2006-02-03 |
| Author | Nicola Asuni |
| Copyright | Tecnick.com S.r.l. Via Ugo Foscolo n.19 09045 Quartu Sant'Elena (CA) ITALY www.tecnick.com |
| License | GNU LESSER GENERAL PUBLIC LICENSE v.2.1 |
Source Code and Documentation
Description
XMLConfigReader is an open-source 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
.
Implementation notes
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 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.Installation instructions
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.
Implementation Example
The following is a quick start example that shows you how to use this class: HTMLColorsSample.java.
Open Source projects from the same author >>
| Powered by CollabNet | Feedback |
FAQ |
Press |
Developer tools
© 1995 - 2007 CollabNet. CollabNet is a registered trademark of CollabNet, Inc. |
