|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectwt.security.Access
wt.security.PropAccess
public class PropAccess
Class that provides wrappers to priviledged property methods using
the wt.security package. This allows applets to perform property
operations that are typically restricted by the sandbox.
Supported API: true
| Method Summary | |
|---|---|
Properties |
getEnv()
Retrieves the system environment properties as per System.getenv(). |
String |
getEnv(String key)
Retrieves the system environment properties as per System.getenv(key). |
static PropAccess |
getPropAccess()
Get instance of PropAccess. |
static PropAccess |
getPropAccess(Frame parentFrame)
Get instance of PropAccess. |
Properties |
getSystemProperties()
Wrapper for System.getProperties() Supported API: true |
String |
getSystemProperty(String key)
Wrapper for System.getProperty() |
void |
setSystemProperties(Properties props)
Wrapper for System.setProperties() |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static PropAccess getPropAccess(Frame parentFrame)
PropAccess. This instance can then be used
to perform property operation that are typically restricted by the sandbox.
parentFrame - the parent frame for security dialog boxes that may be
presented
public static PropAccess getPropAccess()
PropAccess. This instance can then be used
to perform property operation that are typically restricted by the sandbox.
public final Properties getSystemProperties()
throws WTSecurityException
WTSecurityException
public final void setSystemProperties(Properties props)
throws WTSecurityException
props - the Properties object used within the set
WTSecurityException
public final String getSystemProperty(String key)
throws WTSecurityException
key - the key for the property being requested
WTSecurityException
public final Properties getEnv()
throws WTSecurityException
WTSecurityException
public final String getEnv(String key)
throws WTSecurityException
WTSecurityException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||