alejandrito
unread,Nov 26, 2008, 2:41:23 PM11/26/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to soloJ2ME
Buenas tardes,
me gustaría saber como leer un fichero si que me de fallos por tilde o
diéresis.
Estoy utilizando el Netbeans 6.0 como editor, or si sirve de algo.
Aquí pongo un ejemplo.
void leer_lineas_fichero_lineas (String fichero_paradas,String
linea_bus,int acumulador)
{
File archivo = null;
FileReader fr = null;
String num_linea=null;
String []campos;
String [] campos_datos_paradas;
try
{
archivo = new File (fichero_paradas);
String linea;
fr = new FileReader (archivo);
BufferedReader br = new BufferedReader(fr);
while ((linea = br.readLine()) != null)
{
Gracias por adelantado.