Descripción
Sintaxis
public Formatter()
public Formatter(File file) throws FileNotFoundException
public Formatter(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException
public Formatter(File file, String csn, Locale l) throws FileNotFoundException, UnsupportedEncodingException
public Formatter(File file, Charset charset, Locale l) throws IOException
public Formatter(OutputStream os)
public Formatter(OutputStream os, String csn) throws UnsupportedEncodingException
public Formatter(OutputStream os, String csn, Locale l) throws UnsupportedEncodingException
public Formatter(OutputStream os, Charset charset, Locale l)
public Formatter(PrintStream ps)
public Formatter(Appendable a)
public Formatter(Appendable a, Locale l)
public Formatter(String fileName) throws FileNotFoundException
public Formatter(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException
public Formatter(String fileName, String csn, Locale l) throws FileNotFoundException, UnsupportedEncodingException
public Formatter(String fileName, Charset charset, Locale l) throws IOException
public Formatter(Locale l)
Parámetros
- Appendable a,
- File file,
- Charset charset,
- PrintStream ps,
- String csn,
- String fileName,
- Locale l,
- OutputStream os,
Excepciones
FormatterClosedException, FileNotFoundException, IOException, SecurityException, UnsupportedEncodingException, NullPointerException
Clase Padre
Ejemplo
Líneas de Código
Vídeos Java
Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.