软件包 | 描述 |
---|---|
java.util |
包含集合框架、遗留的集合类、事件模型、日期和时间的设施、国际化和各种实用工具类(一个字符串标记,一个随机数发生器,和一位阵列)。
|
Modifier and Type | Method and Description |
---|---|
Formatter |
Formatter.format(Locale l, String format, Object... args)
使用指定的区域设置、格式字符串和参数,将格式化的字符串写入到该对象的目的地。
|
Formatter |
Formatter.format(String format, Object... args)
使用指定的格式字符串和参数将格式化的字符串写入到该对象的目的地。
|
Modifier and Type | Method and Description |
---|---|
void |
Formattable.formatTo(Formatter formatter, int flags, int width, int precision)
使用提供的
formatter 对象格式。
|
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.