Here you can find the source of getPreferences()
public static Preferences getPreferences()
//package com.java2s; //License from project: Open Source License import java.util.prefs.Preferences; public class Main { /**//w w w.j ava 2 s . com * The preferences node to load/save from/to */ private static final Preferences prefs = Preferences.userRoot().node("/edu/colostate/vchill"); /** * Provides direct access to the preferences node where VCHILL configuration information is stored. * This can be used when other operations than this class provides are needed. */ public static Preferences getPreferences() { return prefs; } }