Here you can find the source of get(String key, String defaultValue)
public static String get(String key, String defaultValue)
//package com.java2s; //License from project: Open Source License import java.util.prefs.Preferences; public class Main { private static final Preferences reg = Preferences.systemRoot().node("/interflow"); public static String get(String key) { return reg.get(key, null); }//from w w w . j a v a 2 s . c o m public static String get(String key, String defaultValue) { return reg.get(key, defaultValue); } }