This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Bufferedreader error issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Bufferedreader error issue" Watch "Bufferedreader error issue" New topic

Bufferedreader error issue

Eung maeng
Ranch Hand

Joined: Feb 10, 2002
Posts: 68
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.
public String writeXML()
StringBuffer sb = new StringBuffer("<?xml version = \"1.0\" ?>" + nextLine);
sb.append("<resultset>" + nextLine);

///Retrive the Configuration from Config03.dat/
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

Joined: Oct 13, 2005
Posts: 43974
Please provide more details. What sort of compiler error are you getting?
Have you checked out Aspose?
subject: Bufferedreader error issue
It's not a secret anymore!