public class StringFormat extends Object
String.format(String, Object...)
method.Constructor and Description |
---|
StringFormat() |
Modifier and Type | Method and Description |
---|---|
static String |
format(String format,
Object... args)
This method emulates
String.format(String, Object...) with some
notable differences:
flags are unsupported (and are silently ignored)
the 'a ' and 'A ' conversions are unsupported
the other scientific notation flags use NumberFormat and thus
produce slightly different output
|
public static String format(String format, Object... args)
String.format(String, Object...)
with some
notable differences:
a
' and 'A
' conversions are unsupportedNumberFormat
and thus
produce slightly different outputformat
- The format string.args
- The values available for format string conversions.String.format(String, Object...)
with format
and
args
.String.format(String, Object...)
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.