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 |
*/ |
*/ |
245 |
public static Preferences systemNodeForPackage(Class c) |
public static Preferences systemNodeForPackage(Class<?> c) |
246 |
throws SecurityException |
throws SecurityException |
247 |
{ |
{ |
248 |
return nodeForPackage(c, systemRoot()); |
return nodeForPackage(c, systemRoot()); |
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 |
*/ |
*/ |
264 |
public static Preferences userNodeForPackage(Class c) |
public static Preferences userNodeForPackage(Class<?> c) |
265 |
throws SecurityException |
throws SecurityException |
266 |
{ |
{ |
267 |
return nodeForPackage(c, userRoot()); |
return nodeForPackage(c, userRoot()); |