public class Properties extends Object
Modifier and Type | Method and Description |
---|---|
static BigInteger |
asBigInteger(String propertyName) |
static Set<String> |
asKeySet(String propertyName) |
static String |
getPropertyValue(String propertyName) |
static boolean |
isOverrideSet(String propertyName)
Return whether a particular override has been set to true.
|
static boolean |
isOverrideSetTo(String propertyName,
boolean isTrue)
Return whether a particular override has been set to false.
|
static boolean |
removeThreadOverride(String propertyName)
Remove any value for the specified override property for the current thread only.
|
static boolean |
setThreadOverride(String propertyName,
boolean enable)
Enable the specified override property for the current thread only.
|
public static boolean isOverrideSet(String propertyName)
propertyName
- the property name for the override.public static boolean isOverrideSetTo(String propertyName, boolean isTrue)
propertyName
- the property name for the override.isTrue
- true if the override should be true, false otherwise.public static boolean setThreadOverride(String propertyName, boolean enable)
propertyName
- the property name for the override.enable
- true if the override should be enabled, false if it should be disabled.public static boolean removeThreadOverride(String propertyName)
propertyName
- the property name for the override.public static BigInteger asBigInteger(String propertyName)
Copyright © 2021 BouncyCastle.org. All rights reserved.