Java™ Platform
Standard Ed. 6

Uses of Class
java.util.Formatter

Packages that use Formatter
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
 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
 void Formattable.formatTo(Formatter formatter, int flags, int width, int precision)
          Formats the object using the provided formatter.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 1993, 2015, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

Scripting on this page tracks web page traffic, but does not change the content in any way.