/[classpath]/classpath/java/util/prefs/Preferences.java
ViewVC logotype

Diff of /classpath/java/util/prefs/Preferences.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.11 by mark, Sat Jul 2 20:32:44 2005 UTC revision 1.12 by tromey, Sat Sep 17 15:46:23 2005 UTC
# Line 230  public abstract class Preferences { Line 230  public abstract class Preferences {
230      }      }
231    
232      /**      /**
233       * Returns the system preferences node for the package of an object.       * Returns the system preferences node for the package of a class.
234       * The package node name of the object is determined by dropping the       * The package node name of the class is determined by dropping the
235       * class name of the object of the fully quallified class name and       * final component of the fully qualified class name and
236       * replacing all '.' to '/' in the package name. If the class of the       * changing all '.' to '/' in the package name. If the class of the
237       * object has no package then the package node name is "<unnamed>".       * object has no package then the package node name is "<unnamed>".
238       * The returened node is <code>systemRoot().node(packageNodeName)</code>.       * The returned node is <code>systemRoot().node(packageNodeName)</code>.
239       *       *
240       * @param o Object whose default system preference node is requested       * @param c Object whose default system preference node is requested
241       * @returns system preferences node that should be used by object o       * @returns system preferences node that should be used by class c
242       * @exception SecurityException when a security manager is installed and       * @exception SecurityException when a security manager is installed and
243       * the caller does not have <code>RuntimePermission("preferences")</code>.       * the caller does not have <code>RuntimePermission("preferences")</code>.
244       */       */
# Line 249  public abstract class Preferences { Line 249  public abstract class Preferences {
249      }      }
250    
251      /**      /**
252       * Returns the user preferences node for the package of an object.       * Returns the user preferences node for the package of a class.
253       * The package node name of the object is determined by dropping the       * The package node name of the class is determined by dropping the
254       * class name of the object of the fully quallified class name and       * final component of the fully qualified class name and
255       * replacing all '.' to '/' in the package name. If the class of the       * changing all '.' to '/' in the package name. If the class of the
256       * object has no package then the package node name is "&lt;unnamed&gt;".       * object has no package then the package node name is "&lt;unnamed&gt;".
257       * The returened node is <code>userRoot().node(packageNodeName)</code>.       * The returned node is <code>userRoot().node(packageNodeName)</code>.
258       *       *
259       * @param o Object whose default user preference node is requested       * @param c Object whose default userpreference node is requested
260       * @returns user preferences node that should be used by object o       * @returns userpreferences node that should be used by class c
261       * @exception SecurityException when a security manager is installed and       * @exception SecurityException when a security manager is installed and
262       * the caller does not have <code>RuntimePermission("preferences")</code>.       * the caller does not have <code>RuntimePermission("preferences")</code>.
263       */       */

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26