an extension over system.getproperty method . handles security restrictions , and returns the default value if the access to the property is restricted . concode_field_sep String WINDOWS concode_elem_sep int BYTE_ORDER concode_elem_sep Platform INSTANCE concode_elem_sep String FREEBSD concode_elem_sep String OS concode_elem_sep String OPENBSD concode_elem_sep String IBM concode_elem_sep boolean IS_WINDOWS concode_elem_sep boolean IS_MAC concode_elem_sep boolean IS_FREEBSD concode_elem_sep boolean IS_IBM concode_elem_sep Map<String,String> ARCH_NAMES concode_elem_sep boolean IS_GCJ concode_elem_sep String SOLARIS concode_elem_sep String DARWIN concode_elem_sep int BIG_ENDIAN concode_elem_sep String LINUX concode_elem_sep Map<String,String> OS_NAMES concode_elem_sep int LITTLE_ENDIAN concode_elem_sep boolean IS_LINUX concode_elem_sep boolean IS_OPENVMS concode_elem_sep String OPENVMS concode_elem_sep String GCJ concode_elem_sep boolean IS_SOLARIS concode_elem_sep boolean IS_BSD concode_elem_sep String ARCH concode_elem_sep String NAME concode_elem_sep String JVM concode_elem_sep boolean IS_OPENBSD concode_field_sep String initOperatingSystem concode_elem_sep String initArchitecture concode_elem_sep void main concode_elem_sep String getPackageName concode_elem_sep String getOSPackageName concode_elem_sep Platform getPlatform
String function ( String arg0 , String arg1 ) { try { return System . getProperty ( arg0 , arg1 ) ; } catch ( SecurityException loc0 ) { return arg1 ; } }