Java tutorial
public class Main { public static void main(String[] args) { Long v = new Long(1234567890); System.setProperty("Java2s.com", "12345"); String str = "Java2s.com"; System.out.println(Long.getLong(str, v)); System.out.println(Long.getLong("java", v)); } }