This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



---------------------------------------------------------------------
To unsubscribe, e-mail: docbook-apps-unsubscribe at lists dot oasis-open dot org
For additional commands, e-mail: docbook-apps-help at lists dot oasis-open dot org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]