Formatter

Class Formatter

All Implemented Interfaces:
Closeable, Flushable, AutoCloseable
public final class Formatter
extends Object
implements Closeable, Flushable

An interpreter for printf-style format strings. This class provides support for layout justification and alignment, common formats for numeric, string, and date/time data, and locale-specific output. Common Java types such as byte, BigDecimal, and Calendar登录查看完整内容