Here you can find the source of createNode(String path)
Parameter | Description |
---|---|
path | The absolute path name of the node. |
public static Preferences createNode(String path)
//package com.java2s; //License from project: Open Source License import java.util.prefs.Preferences; public class Main { /** Get node path, create if not already existing. @param path The absolute path name of the node. @return The node *///from ww w. j a v a 2 s . c o m public static Preferences createNode(String path) { assert !path.startsWith("/"); return Preferences.userRoot().node(path); } }