
She told me to come but I was already there! [?]
Añademe a tus favoritos!
Contacto
Post al azar
RSS
BUSCAR
Mapa de la web
el 2007-12-22 06:21:34 - Secciones: - Enlace permanente: 805La manera más sencilla de escribir texto en un fichero en Java parece ser la siguiente.
try
{
BufferedWriter out = new BufferedWriter(new FileWriter("nombre del fichero"));
out.write("cadena");
out.close();
}
catch (IOException e)
{
}
Ojo que este código sobreescribirá el fichero si ya existe.
Saiyine recommends the easiest way to earn money with your web: get paid just by having some links! Click this button to check it out.
