How to convert String to long in Java
How to convert String to long in Java using Long.parseLong and Long.valueOf methods. Simple example provided.
How to convert String to int in Java
How to convert String to int in Java using Integer.parseInt and Integer.valueOf methods. Simple example provided.
How to read XML file in Java using DOM
How to read XML file in Java using DOM. 2 methods: one reading each element by the name and second parsing the entire DOMobject.
How to create XML file in Java using DOM
How to create XML file in Java using DOM. Simple example with pretty printing to output the content to console or to a file.
Apache Maven Basic Operations
Apache Maven Basic Operations contains short description on maven commands like, clean
, package
, install
, deploy
, mvn eclipse:eclipse
How to convert object to / from JSON using Jackson
How to convert Java object to / from JSON string using Jackson library. Simple example including embedded object.
Search
Other Posts
Follow Us On