Package monq.jfa.textparts
Class SimpleFormatters.GetVar
java.lang.Object
monq.jfa.textparts.SimpleFormatters.GetVar
- All Implemented Interfaces:
Formatter
- Enclosing class:
SimpleFormatters
implements a Formatter the format method
of which inserts an element from a Map into the
output.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GetVar
sets up a formatter that inserts retrieves
keyfrom theMappassed toformat()and appends the result to the output. If thekeyis not found, nothing is appended.
-
-
Method Details
-
format
Description copied from interface:Formatterarranges (some of) the pieces of text found in
stormin an implementation dependend manner and appends them toout. Depending on the implementation, both,standmor even both may be allowed to benull.Postcondition: This method may not change the content of
destother than by appending to it.
-