How to execute shell command from Java
How to execute a shell command from Java using Runtime.getRuntime().exec()
method.
How to generate UUID / GUID in Java
How to generate UUID / GUID in Java using java.util.UUID
class, UUID.randomUUID()
method.
How to check if file exists in Golang
How to check if a file exists in Golang using os.Stat method. A FileInfo describing the named file or an error is returned.
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 generate JAXB classes with xjc
How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd
How to get local computer name and IP in Java
How to get local computer name and IP in Java. Simple snippet using InetAddress.getLocalHost() method.
Search
Other Posts
Follow Us On