Package sunlabs.brazil.properties
Class SubstPropsHandler.Url
- java.lang.Object
-
- sunlabs.brazil.properties.SubstPropsHandler.Url
-
- All Implemented Interfaces:
SubstPropsHandler.Convert
- Enclosing class:
- SubstPropsHandler
public static class SubstPropsHandler.Url extends java.lang.Object implements SubstPropsHandler.Convert
URL encode a String.
-
-
Constructor Summary
Constructors Constructor Description Url()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleaninit(java.lang.String prefix, java.util.Properties p)This is called once at creation time to provide this class with configuration information.java.lang.Stringmap(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.ConvertThis 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:
initin interfaceSubstPropsHandler.Convert
-
map
public java.lang.String map(java.lang.String value)
Description copied from interface:SubstPropsHandler.ConvertMap the value.- Specified by:
mapin interfaceSubstPropsHandler.Convert
-
-