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 |
*/ |
*/ |
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 "<unnamed>". |
* object has no package then the package node name is "<unnamed>". |
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 |
*/ |
*/ |