Package sunlabs.brazil.properties
Class SubstPropsHandler.Html
- java.lang.Object
-
- sunlabs.brazil.properties.SubstPropsHandler.Html
-
- All Implemented Interfaces:
SubstPropsHandler.Convert
- Enclosing class:
- SubstPropsHandler
public static class SubstPropsHandler.Html extends java.lang.Object implements SubstPropsHandler.Convert
HTML escape a value.
-
-
Constructor Summary
Constructors Constructor Description Html()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
init(java.lang.String prefix, java.util.Properties p)
This is called once at creation time to provide this class with configuration information.java.lang.String
map(java.lang.String value)
Map the value.
-
-
-
Method Detail
-
init
public boolean init(java.lang.String prefix, java.util.Properties p)
Description copied from interface:SubstPropsHandler.Convert
This is called once at creation time to provide this class with configuration information. Any configuration parameters required in "p" are prefixed with [prefix].- Specified by:
init
in interfaceSubstPropsHandler.Convert
-
map
public java.lang.String map(java.lang.String value)
Description copied from interface:SubstPropsHandler.Convert
Map the value.- Specified by:
map
in interfaceSubstPropsHandler.Convert
-
-