Java Preference Get getDefault()

Here you can find the source of getDefault()

Description

get Default

License

Open Source License

Declaration

public static Preferences getDefault() 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.util.prefs.Preferences;

public class Main {

    public static Preferences getDefault() {
        Preferences userRoot = userRoot();
        return userRoot.node("com").node("kyj").node("gagoyle");
    }/*from www. ja v a  2  s.  co  m*/

    public static Preferences userRoot() {
        return Preferences.userRoot();
    }
}

Related

  1. get(String key, String defaultValue)
  2. getAltNode(final String name)
  3. getBoolean(final String key, final boolean defaultValue)
  4. getCLOB(Preferences prefs, String key, String def)
  5. getClobStorage(Preferences prefs, String key)
  6. getFloat(String key, Float def)
  7. getInt(final Class preferencesClass, final String preferenceName)
  8. getList(String path)
  9. getNode(String path)