Descripción
Sintaxis
public PrintStream(File file) throws FileNotFoundException
public PrintStream(File file, String csn) throws FileNotFoundException, UnsupportedEncodingException
public PrintStream(File file, Charset charset) throws IOException
public PrintStream(OutputStream out)
public PrintStream(OutputStream out, boolean autoFlush)
public PrintStream(OutputStream out, boolean autoFlush, String encoding) throws UnsupportedEncodingException
public PrintStream(OutputStream out, boolean autoFlush, Charset charset)
public PrintStream(String fileName) throws FileNotFoundException
public PrintStream(String fileName, String csn) throws FileNotFoundException, UnsupportedEncodingException
public PrintStream(String fileName, Charset charset) throws IOException
Parámetros
- File file,
- Charset charset,
- boolean autoFlush,
- String csn,
- OutputStream out,
- String encoding,
- String fileName,
Excepciones
UnsupportedEncodingException, SecurityException, FileNotFoundException, IOException
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.