How to execute shell command from Java
How to execute a shell command from Java using Runtime.getRuntime().exec()
method.
How to marshal a JAXB object into org.w3c.dom.Document
How to marshal a JAXB object into org.w3c.dom.Document
using Transformer class and formatted console print.
How to split a string in Java
How to split a string in Java using both variants of the split() method: split(String regex)
and split(String regex, int limit)
.
How to convert a roman number in decimal in Java
How to convert a roman number in decimal in Java. The symbols used are I, V, X, C, D and M.
HTTP URLConnection with proxy in Java
How to create an HTTP URLConnection with proxy in Java. Simple example including proxy authentication.
Search
Other Posts
Follow Us On