File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 39576
    
  27
You should treat the file as what it is, which is XML - so use an XML parser to read it.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reading file
 
Similar Threads
Populating ENTITY tag using batik
rectangle curve border is hidden because of div tag
How to emit doctype from xsl?
svg position
Entities and JDOM