[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Re: [docbook-apps] Setting up CatalogManager.properties on Mac OS X for use with DocBook
At 03:22 09/04/2003 +0200, Jens Skripczynski wrote: >So you do not have to run xalan to test this. >----------------------------------------- >import java.util.*; > >public class Proptest { > public static void main(String argv[]) > throws java.io.IOException > { > > // get file > ResourceBundle test = ResourceBundle.getBundle("CatalogManager"); > > Enumeration keys = test.getKeys(); > while (keys.hasMoreElements()) { > String key = (String) keys.nextElement(); > String value = test.getString(key); > System.out.println(key + "=" + value); > } > > } >} >----------------------------------------- > >Ciao > >Jens Skripczynski But you do need to add the classpath to 1. resolver.jar 2. this program 3. Your properties file. Nice clean test Jens. >E-Mail: skripi-lists(at)myrealbox(dot)com > >There are three ways to get something done: >(1) Do it yourself. >(2) Hire someone to do it for you. >(3) Forbid your kids to do it. Number 3 is frightening! regards DaveP
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]