|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcern.colt.matrix.FormerFactory
public class FormerFactory
Factory producing implementations of Former
via
method create(); 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 Summary | |
---|---|
FormerFactory()
|
Method Summary | |
---|---|
Former |
create(java.lang.String format)
Constructs and returns a new format instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FormerFactory()
Method Detail |
---|
public Former create(java.lang.String format)
format
- 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
java.lang.IllegalArgumentException
- if bad format
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |