public class AccessConfiguration
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getBooleanProperty(java.lang.String name)
Get a Boolean property of access configuration.
|
java.lang.Boolean |
getBooleanProperty(java.lang.String name,
java.lang.Boolean def)
Get a boolean property of access configuration.
|
static AccessConfiguration |
getInstance() |
java.lang.Integer |
getIntProperty(java.lang.String name)
Get an int of access configuration.
|
java.lang.Integer |
getIntProperty(java.lang.String name,
java.lang.Integer def)
Get an int property of access configuration.
|
java.lang.String |
getStringProperty(java.lang.String name,
java.lang.String def)
Get a String property of access configuration.
|
public static AccessConfiguration getInstance()
public java.lang.Integer getIntProperty(java.lang.String name,
java.lang.Integer def)
name - name of the system/config propertydef - default value to return if the property is not setpublic java.lang.Integer getIntProperty(java.lang.String name)
name - name of the system/config propertypublic java.lang.Boolean getBooleanProperty(java.lang.String name,
java.lang.Boolean def)
name - name of the system/config propertydef - default value to return if the property is not setpublic java.lang.Boolean getBooleanProperty(java.lang.String name)
name - name of the system/config propertypublic java.lang.String getStringProperty(java.lang.String name,
java.lang.String def)
name - name of the system/config propertydef - default value to return if the property is not setCopyright © 2005-2021 Apache Software Foundation. All Rights Reserved.