Jan 202018

ADM

How to split a string in Java

  • January 20 2018
  • ADM

How to split a string in Java using both variants of the split() method: split(String regex) and split(String regex, int limit).

Nov 302017

ADM

How to get network interfaces in Java

  • November 30 2017
  • ADM

How to get network interfaces in Java using NetworkInterface class.

Nov 292017

ADM

How to generate JAXB classes with xjc

  • November 29 2017
  • ADM

How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd

Nov 292017

ADM

How to generate JAXB classes with xjc

  • November 29 2017
  • ADM

How to generate JAXB classes with xjc. Command line: xjc -d src -p com.admfactory.client schema.xsd

Nov 282017

ADM

How to convert a roman number in decimal in Java

  • November 28 2017
  • ADM

How to convert a roman number in decimal in Java. The symbols used are I, V, X, C, D and M.

Nov 82017

ADM

How to kill a process from the command line in Window

  • November 8 2017
  • ADM

How to kill a process from the command line in Window using tasklist and taskkill command.

Nov 72017

ADM

How to get local computer name and IP in Java

  • November 7 2017
  • ADM

How to get local computer name and IP in Java. Simple snippet using InetAddress.getLocalHost() method.