## Uses of Class
java.util.Formatter

- Packages that use Formatter
  Package | Description
  --- | ---
  java.util | Contains the collections framework, legacy collection classes, event model, date and time facilities, internationalization, and miscellaneous utility classes (a string tokenizer, a random-number generator, and a bit array).

- - ### Uses of Formatter in java.util

    Methods in java.util that return Formatter
    Modifier and Type | Method and Description
    --- | ---
    `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.
    `Formatter` | Formatter.`format(String format, Object... args)` Writes a formatted string to this object's destination using the specified format string and arguments.

    Methods in java.util with parameters of type Formatter
    Modifier and Type | Method and Description
    --- | ---
    `void` | Formattable.`formatTo(Formatter formatter, int flags, int width, int precision)` Formats the object using the provided `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.