Package winstone
Class WinstoneResourceBundle
java.lang.Object
winstone.WinstoneResourceBundle
A ResourceBundle that includes the ability to do string replacement on the
resources it retrieves.
- Author:
- Rick Knowles
-
Constructor Summary
ConstructorDescriptionWinstoneResourceBundle
(String baseName) ConstructorWinstoneResourceBundle
(String baseName, Locale loc) WinstoneResourceBundle
(String baseName, Locale loc, ClassLoader cl) -
Method Summary
Modifier and TypeMethodDescriptionDefault getString methodPerform a string replace for a single from/to pair.Perform a string replace for a set of from/to pairs.static String
globalReplace
(String input, String[][] parameters) static String
globalReplace
(String input, String fromMarker, String toValue) Just does a string swap, replacing occurrences of from with to.
-
Constructor Details
-
WinstoneResourceBundle
Constructor -
WinstoneResourceBundle
-
WinstoneResourceBundle
-
-
Method Details
-
getString
Default getString method -
getString
Perform a string replace for a single from/to pair. -
getString
Perform a string replace for a set of from/to pairs. -
globalReplace
Just does a string swap, replacing occurrences of from with to. -
globalReplace
-