| Author |
Bufferedreader error issue
|
Eung maeng
Ranch Hand
Joined: Feb 10, 2002
Posts: 68
|
|
Hi, would you be able to explain what's problem in ? I am trying to reade txt file with Bufferedreader. However, I am getting a compile error. e.g public String writeXML() { StringBuffer sb = new StringBuffer("<?xml version = \"1.0\" ?>" + nextLine); sb.append("<resultset>" + nextLine); /////////////////////////////////////////////// ///Retrive the Configuration from Config03.dat/ /////////////////////////////////////////////// try{ File vertexF = new File("vertex.txt"); BufferedReader reader = new BufferedReader(new FileReader(vertexF)); String s; int cntRead=0; }catch(IOException e) { // e.printStackTrace(); } thanks for your reply earlier,
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32681
|
|
|
Please provide more details. What sort of compiler error are you getting?
|
 |
 |
|
|
subject: Bufferedreader error issue
|
|
|