Packages that use Formatter
Package
Description
java.util
Contains the collections framework, some internationalization support classes,
a service loader, properties, random number generation, string parsing
and scanning classes, base64 encoding and decoding, a bit array, and
several miscellaneous utility classes.
Methods in java.util that return Formatter
Modifier and Type
Method
Description
Formatter
Formatter. format (String format,
Object ... args)
Writes a formatted string to this object's destination using the
specified format string and arguments.
Formatter
Formatter. format (Locale l,
String format,
Object ... args)
Writes a formatted string to this object's destination using the
specified locale, format string, and arguments.
Methods in java.util with parameters of type Formatter
Modifier and Type
Method
Description
void
Formattable. formatTo (Formatter formatter,
int flags,
int width,
int precision)
Formats the object using the provided
formatter.
Java SE 14 & JDK 14 DRAFT 14-internal+32-suse-1.3-s390x
Report a bug or suggest an enhancement For further API reference and developer documentation see the Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples. Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries. Copyright © 1993, 2020, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA. All rights reserved. Use is subject to license terms and the documentation redistribution policy . DRAFT 14-internal+32-suse-1.3-s390x