aspose file tools*
The moose likes XML and Related Technologies and the fly likes reading file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "reading file" Watch "reading file" New topic
Author

reading file

Pradyumna Sahoo
Greenhorn

Joined: Feb 27, 2013
Posts: 22


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

Joined: Feb 27, 2013
Posts: 22



Here's my java code. Again Thanks for your time. Live Long and prosper.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41818
    
  62
You should treat the file as what it is, which is XML - so use an XML parser to read it.


Ping & DNS - my free Android networking tools app
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading file