RE: FileOutputStream

Josué Magaña <[email protected]>
Newsgroups gmane.comp.java.javaspain
Message-ID <[email protected]>
te lo debe crear automáticamente
pero si el directorio no existe entonces este si lo tienes que crear manualmente, al menos asi me ha pasado
no se si exista algo más automático ya
para saber si existe usa la clase File


To: javaspain-hHKSG33Tihig7M29m/[email protected]: [email protected]: Thu, 26 Jun 2008 11:43:38 +0200Subject: [javaSpain] FileOutputStream





Hola:
 
Utilizando FileOutputStream para crear una fichero con datos obtengo un error "FileNotFoundException". El fichero donde pretendo escribir no existe, es cierto, pero ¿tengo que crearlo primero o este método lo crea si no existe?
 
Gracias.-- ¿Es válido, hoy en día, el HTML? http://santiago-esmiblog.blogspot.com/ 
 






_________________________________________________________________
Plug&Play te trae en exclusiva los mejores conciertos de la red
http://club.prodigymsn.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.