This section demonstrates you to retrieve a Preference node. You can see in the given example that we have used an absolute path in order to get the Preference node. The absolute paths begin with '/'. The method name() returns the preference node's name, with respect to the absolute path.
Here is the code of RetrievingNodes.java
Output will be displayed as:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: April 17, 2011 If you enjoyed this post then why not add us on Google+? Add us to your Circles