public class FormerFactory extends Object
Former
via method create();
Implementations of can use existing libraries such as corejava.PrintfFormat or corejava.Format or other.
Serves to isolate the interface of String formatting from the actual implementation.
If you want to plug in a different String formatting implementation, simply replace this class with your alternative.Constructor and Description |
---|
FormerFactory() |
public Former create(String format)
s
- the format string following printf conventions.
The string has a prefix, a format code and a suffix. The prefix and suffix
become part of the formatted output. The format code directs the
formatting of the (single) parameter to be formatted. The code has the
following structure
IllegalArgumentException
- if bad formatCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.