Archive for the 'file' Category

How-To: Read an XML file using DOM parser in JAVA?

I was away on a vacation and therefore couldn’t write all these days. In this post, i will talk about reading an XML file using DOM parser in JAVA.

Below i am putting the XML file extract with it’s name.
XML file: ReadThisXML.xml
<?xml version=”1.0″?>
<organization>
<employee>
<firstname>Jack</firstname>
<lastname>Rose</lastname>
</employee>
<employee>
<firstname>Paul</firstname>
<lastname>McNealy</lastname>
</employee>
<employee>
<firstname>Vaibhav</firstname>
<lastname>Pandey</lastname>
</employee>
</organization>
The code below can be used to read this file and parse it using [...]

Open Coffee Club Bangalore: Meetup on 2nd September

It’s again time to notify you all of Open Coffee Club’s second meet which is scheduled to happen on 2nd September 2007 from 11AM – 1PM. The first meet was a grand success with 60 people participating.
Read:OCC gets a Thumbs Up in Bangalore
The venue and the timings for the second meet have also been kept [...]

Windows: File Color Coding

Windows supports file/folder color coding for easy identification for the user. Encrypted files are displayed in green and compressed NTFS files are displayed in blue. To turn on/off this feature, use the following steps:

Click Start > Control Panel and then double-click Folder Options
On the View tab, click to select the Show [...]