Java java.util Formatter fields, constructors, methods, implement or subclass

Example usage for Java java.util Formatter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for java.util Formatter.

The text is from its open source code.

Subclass

java.util.Formatter has subclasses.
Click this link to see all its subclasses.

Implementation

java.util.Formatter has the following implementations.
Click this link to see all its implementation.

Constructor

Formatter()
Constructs a new formatter.
Formatter(Appendable a)
Constructs a new formatter with the specified destination.
Formatter(Locale l)
Constructs a new formatter with the specified locale.
Formatter(String fileName)
Constructs a new formatter with the specified file name.
Formatter(File file)
Constructs a new formatter with the specified file.
Formatter(PrintStream ps)
Constructs a new formatter with the specified print stream.
Formatter(OutputStream os)
Constructs a new formatter with the specified output stream.
Formatter(Locale l, Appendable a)
Formatter(Appendable a, Locale l)
Constructs a new formatter with the specified destination and locale.
Formatter(String fileName, String csn)
Constructs a new formatter with the specified file name and charset.
Formatter(File file, String csn)
Constructs a new formatter with the specified file and charset.
Formatter(OutputStream os, String csn)
Constructs a new formatter with the specified output stream and charset.
Formatter(Charset charset, Locale l, File file)
Formatter(String fileName, String csn, Locale l)
Constructs a new formatter with the specified file name, charset, and locale.
Formatter(String fileName, Charset charset, Locale l)
Constructs a new formatter with the specified file name, charset, and locale.
Formatter(File file, String csn, Locale l)
Constructs a new formatter with the specified file, charset, and locale.
Formatter(File file, Charset charset, Locale l)
Constructs a new formatter with the specified file, charset, and locale.
Formatter(OutputStream os, String csn, Locale l)
Constructs a new formatter with the specified output stream, charset, and locale.
Formatter(OutputStream os, Charset charset, Locale l)
Constructs a new formatter with the specified output stream, charset, and locale.

Method

voidclose()
Closes this formatter.
voidflush()
Flushes this formatter.
Formatterformat(Locale l, String format, Object... args)
Writes a formatted string to this object's destination using the specified locale, format string, and arguments.
Formatterformat(String format, Object... args)
Writes a formatted string to this object's destination using the specified format string and arguments.
IOExceptionioException()
Returns the IOException last thrown by this formatter's Appendable .
Localelocale()
Returns the locale set by the construction of this formatter.
Appendableout()
Returns the destination for the output.
StringtoString()
Returns the result of invoking toString() on the destination for the output.