jnr.ffi.provider.jffi.Util Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jnr-ffi Show documentation
Show all versions of jnr-ffi Show documentation
A library for invoking native functions from java
package jnr.ffi.provider.jffi;
/**
*/
final class Util {
static boolean getBooleanProperty(String propertyName, boolean defaultValue) {
try {
return Boolean.valueOf(System.getProperty(propertyName, Boolean.valueOf(defaultValue).toString()));
} catch (SecurityException se) {
return defaultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy