org.mmbase.util.xml
Class UtilReader

java.lang.Object
  extended byorg.mmbase.util.xml.UtilReader

public class UtilReader
extends java.lang.Object

This class reads configuration files for utilities, that are placed in /config/utils/.

Since:
MMBase-1.6.4
Version:
$Id: UtilReader.java,v 1.7.2.1 2004/05/07 09:37:07 michiel Exp $
Author:
Rob Vermeulen, Michiel Meeuwissen

Field Summary
static java.lang.String CONFIG_UTILS
           
static java.lang.String DTD_UTIL
          DTD respource filename of the most recent Utilities config DTD
static java.lang.String DTD_UTIL_1_0
          DTD resource filename of the Utilities config DTD version 1.0
static java.lang.String PUBLIC_ID_UTIL
          Public ID of the most recent Utilities config DTD
static java.lang.String PUBLIC_ID_UTIL_1_0
          Public ID of the Utilities config DTD version 1.0
 
Constructor Summary
UtilReader(java.lang.String filename)
           
 
Method Summary
 java.util.Map getProperties()
          Get the properties of this utility.
protected  void readProperties(java.io.File f)
           
static void registerPublicIDs()
          Register the Public Ids for DTDs used by UtilReader This method is called by XMLEntityResolver.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONFIG_UTILS

public static final java.lang.String CONFIG_UTILS
See Also:
Constant Field Values

PUBLIC_ID_UTIL_1_0

public static final java.lang.String PUBLIC_ID_UTIL_1_0
Public ID of the Utilities config DTD version 1.0

See Also:
Constant Field Values

DTD_UTIL_1_0

public static final java.lang.String DTD_UTIL_1_0
DTD resource filename of the Utilities config DTD version 1.0

See Also:
Constant Field Values

PUBLIC_ID_UTIL

public static final java.lang.String PUBLIC_ID_UTIL
Public ID of the most recent Utilities config DTD

See Also:
Constant Field Values

DTD_UTIL

public static final java.lang.String DTD_UTIL
DTD respource filename of the most recent Utilities config DTD

See Also:
Constant Field Values
Constructor Detail

UtilReader

public UtilReader(java.lang.String filename)
Parameters:
filename - The name of the property file (e.g. httppost.xml).
Method Detail

registerPublicIDs

public static void registerPublicIDs()
Register the Public Ids for DTDs used by UtilReader This method is called by XMLEntityResolver.


getProperties

public java.util.Map getProperties()
Get the properties of this utility.


readProperties

protected void readProperties(java.io.File f)


MMBase build 1.7.1.20041002