SysLib.getProperty returns the value of a Java™ runtime setting.
eglx.lang
static function getProperty(propertyName string in) returns(string?);
The function returns the property value from a Java properties file. If the specified property is not found, sysLib.getProperty calls the java.lang.System.getProperty method to request the Java system property with the given name. If the property is still not found, sysLib.getProperty returns a null.
Here is example code:
traceType STRING? = sysLib.getProperty("egl.trace.type");
Target | Issue |
---|---|
Java | No issues. |
JavaScript | SysLib.getProperty is not supported. |