Título
También
.
.
Título
FormatterDefinición
Permite manejar archivos.Ejemplo 1
//crear
Formatter out;
try{
out = new Formatter("out.txt");
}catch (SecurityException e1){
}catch (FileNotFoundException e2){
}
//Escribir datos
String s = "hola mundo";
try{
out.format("%s",s);
}catch (NoSuchElementException e3){
}catch (FormatterClosedException e4){
}
//cerrar
out.close()