|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.security.Access
wt.security.PrefsAccess
public class PrefsAccess
Class that provides wrappers to priviledged Preferences
methods using the wt.security package. This allows applets to perform
preferences operations that are typically restricted by the sandbox.
Supported API: true
| Method Summary | |
|---|---|
static PrefsAccess |
getPrefsAccess()
Get instance of FileAccess. |
static PrefsAccess |
getPrefsAccess(Frame parentFrame)
Get instance of FileAccess. |
void |
importPreferences(InputStream is)
See Preferences's importPreferences() method. |
Preferences |
systemNodeForPackage(Class<?> cls)
See Preferences's systemNodeForPackage() method. |
Preferences |
systemRoot()
See Preferences's systemRoot() method. |
Preferences |
userNodeForPackage(Class<?> cls)
See Preferences's userNodeForPackage() method. |
Preferences |
userRoot()
See Preferences's userRoot() method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PrefsAccess getPrefsAccess(Frame parentFrame)
FileAccess. This instance can then be used
to perform file operation that are typically restricted by the sandbox.
parentFrame - the parent frame for security dialog boxes that may be
presented
public static PrefsAccess getPrefsAccess()
FileAccess. This instance can then be used
to perform file operation that are typically restricted by the sandbox.
public final Preferences systemRoot()
Preferences's systemRoot() method.
public final Preferences userRoot()
Preferences's userRoot() method.
public final Preferences systemNodeForPackage(Class<?> cls)
Preferences's systemNodeForPackage() method.
public final Preferences userNodeForPackage(Class<?> cls)
Preferences's userNodeForPackage() method.
public final void importPreferences(InputStream is)
throws IOException,
InvalidPreferencesFormatException
Preferences's importPreferences() method.
IOException
InvalidPreferencesFormatException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||