org.mmbase.util.xml
Class UtilReader
java.lang.Object
|
+--org.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.1.2.3 2003/06/27 09:58:09 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 |
CONFIG_UTILS
public static final java.lang.String CONFIG_UTILS
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
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
PUBLIC_ID_UTIL
public static final java.lang.String PUBLIC_ID_UTIL
- Public ID of the most recent Utilities config DTD
DTD_UTIL
public static final java.lang.String DTD_UTIL
- DTD respource filename of the most recent Utilities config DTD
UtilReader
public UtilReader(java.lang.String filename)
- Parameters:
filename - The name of the property file (e.g. httppost.xml).
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.6.5.20030923