net.sf.retrotranslator.runtime.java.util
Class Formatter_
java.lang.Object
net.sf.retrotranslator.runtime.java.util.Formatter_
- All Implemented Interfaces:
- java.io.Closeable, java.io.Flushable
public class Formatter_
- extends java.lang.Object
- implements java.io.Closeable, java.io.Flushable
- Author:
- Taras Puchko
Field Summary |
private java.io.IOException |
ioException
|
private java.util.Locale |
locale
|
private java.lang.Appendable |
out
|
Constructor Summary |
Formatter_()
|
Formatter_(java.lang.Appendable a)
|
Formatter_(java.lang.Appendable a,
java.util.Locale l)
|
Formatter_(java.io.File file)
|
Formatter_(java.io.File file,
java.lang.String csn)
|
Formatter_(java.io.File file,
java.lang.String csn,
java.util.Locale l)
|
Formatter_(java.util.Locale l)
|
Formatter_(java.io.OutputStream os)
|
Formatter_(java.io.OutputStream os,
java.lang.String csn)
|
Formatter_(java.io.OutputStream os,
java.lang.String csn,
java.util.Locale l)
|
Formatter_(java.io.PrintStream ps)
|
Formatter_(java.lang.String fileName)
|
Formatter_(java.lang.String fileName,
java.lang.String csn)
|
Formatter_(java.lang.String fileName,
java.lang.String csn,
java.util.Locale l)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
out
private java.lang.Appendable out
locale
private java.util.Locale locale
ioException
private java.io.IOException ioException
Formatter_
public Formatter_()
Formatter_
public Formatter_(java.lang.Appendable a)
Formatter_
public Formatter_(java.util.Locale l)
Formatter_
public Formatter_(java.lang.Appendable a,
java.util.Locale l)
Formatter_
public Formatter_(java.lang.String fileName)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
Formatter_
public Formatter_(java.lang.String fileName,
java.lang.String csn)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
Formatter_
public Formatter_(java.lang.String fileName,
java.lang.String csn,
java.util.Locale l)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
Formatter_
public Formatter_(java.io.File file)
throws java.io.FileNotFoundException
- Throws:
java.io.FileNotFoundException
Formatter_
public Formatter_(java.io.File file,
java.lang.String csn)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
Formatter_
public Formatter_(java.io.File file,
java.lang.String csn,
java.util.Locale l)
throws java.io.FileNotFoundException,
java.io.UnsupportedEncodingException
- Throws:
java.io.FileNotFoundException
java.io.UnsupportedEncodingException
Formatter_
public Formatter_(java.io.PrintStream ps)
Formatter_
public Formatter_(java.io.OutputStream os)
Formatter_
public Formatter_(java.io.OutputStream os,
java.lang.String csn)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
Formatter_
public Formatter_(java.io.OutputStream os,
java.lang.String csn,
java.util.Locale l)
throws java.io.UnsupportedEncodingException
- Throws:
java.io.UnsupportedEncodingException
locale
public java.util.Locale locale()
out
public java.lang.Appendable out()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
flush
public void flush()
- Specified by:
flush
in interface java.io.Flushable
close
public void close()
- Specified by:
close
in interface java.io.Closeable
ioException
public java.io.IOException ioException()
format
public Formatter_ format(java.lang.String format,
java.lang.Object... args)
format
public Formatter_ format(java.util.Locale locale,
java.lang.String format,
java.lang.Object... args)
assertNotNull
private static java.lang.Appendable assertNotNull(java.lang.Appendable appendable)
assertOpen
private void assertOpen()