permaculture playing cards*
The moose likes Beginning Java and the fly likes Reading Writing Files Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Reading Writing Files" Watch "Reading Writing Files" New topic
Author

Reading Writing Files

Mayu Mayooresan
Ranch Hand

Joined: Mar 12, 2011
Posts: 37

Lately I’ve been trying to read an XML, CSV files for my Android app dev needs. But it seems I need to understand a lot regarding file reading, writing.

I can easily achieve my goals by copying some code segment from internet but it doesn’t give me the pleasure. Its more like I’m running on back of someone else.

Could you please provide me some links where I can read about NODES, DOCS, I/O ect. If you can please guide me to some tutorials where I can learn the concepts.

Thanks in advance.
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

Here's Oracle's tutorial about I/O: Lesson: Basic I/O (Note that the part about "NIO.2" is about new features in Java 7, which is not yet released - for a basic understanding, skip that part for now).

If you want to work with XML and understand what the structure of XML is, what nodes are etc., then search for a tutorial about Java and XML. w3schools.com has some good tutorials about XML and related technologies (but not specifically about Java).

The Java EE 1.4 Tutorial has a few chapters about Java and XML; especially have a look at chapter 2, "Understanding XML" and chapters 4, 5 and 6 about JAXP, SAX and DOM.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
Mayu Mayooresan
Ranch Hand

Joined: Mar 12, 2011
Posts: 37

Thanks a lot

It'll do. I'll go through those tutorials. Thansk for your time.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Reading Writing Files
 
Similar Threads
Problem with file and writing UTF-8 information into file
Problem with file and writing UTF-8 information into file
modifying the value of the node
File Locking
trying to access ms project in java