Formatter provides the method to give out formatted string just like the printf-style. Layout,alignment and other format flags are provided to format numeric,string and date/time as well as locale-specified formats applied. Besides primitive types, formatter also support some java object types such as BigInteger,BigDecimal and Calendar. Customized formatting is provided through the Formattable interface. The class is not multi-threaded safe. The responsibility to maintain thread safety is the user's job.
@since 1.5
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.