de.jreality.util
Class Secure
java.lang.Object
de.jreality.util.Secure
public class Secure
- extends Object
A class for managing access to system resources, especially for the case
when the application is running in a secure environment and must be
careful how it accesses system properties.
- Author:
- gunn
Secure
public Secure()
getProperty
public static String getProperty(String name,
String def)
getProperty
public static String getProperty(String name)
setProperty
public static String setProperty(String name,
String value)
doPrivileged
public static <T> T doPrivileged(PrivilegedAction<T> action)