This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

reading file

 
Pradyumna Sahoo
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


here 's a text file I want to read only the x and y coordinates using file input stream reader , please help me to develop the code. Thanks for your time and consideration.




 
Pradyumna Sahoo
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



Here's my java code. Again Thanks for your time. Live Long and prosper.
 
Ulf Dittmer
Rancher
Pie
Posts: 42967
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should treat the file as what it is, which is XML - so use an XML parser to read it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic