public class FileConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_JMX_PORT |
protected java.util.Properties |
properties |
Modifier | Constructor and Description |
---|---|
|
FileConfiguration(java.io.File file) |
|
FileConfiguration(java.io.InputStream in) |
protected |
FileConfiguration(java.util.Properties p) |
|
FileConfiguration(java.lang.String path) |
Modifier and Type | Method and Description |
---|---|
boolean |
authenticationEnabled() |
java.lang.String |
getAccessKey() |
Authenticator |
getAuthenticator() |
protected boolean |
getBoolProperty(java.lang.String name,
boolean dflt) |
protected int |
getBoundedIntProperty(java.lang.String name,
int dflt,
int lb,
int ub) |
protected int |
getIntProperty(java.lang.String name,
int dflt) |
int |
getJmxPort() |
java.lang.String |
getKeystoreFile() |
java.lang.String |
getKeystorePass() |
protected int |
getLowerboundedIntProperty(java.lang.String name,
int dflt,
int lb) |
java.lang.String |
getTruststoreFile() |
java.lang.String |
getTruststorePass() |
User |
getUser() |
boolean |
insecure() |
java.lang.String |
toString() |
static java.lang.String |
userAsConfig(User u) |
public static final int DEFAULT_JMX_PORT
protected java.util.Properties properties
public FileConfiguration(java.lang.String path) throws java.io.IOException
java.io.IOException
public FileConfiguration(java.io.File file) throws java.io.IOException
java.io.IOException
public FileConfiguration(java.io.InputStream in) throws java.io.IOException
java.io.IOException
protected FileConfiguration(java.util.Properties p)
public boolean insecure()
public java.lang.String getKeystoreFile()
public java.lang.String getKeystorePass()
public java.lang.String getTruststoreFile()
public java.lang.String getTruststorePass()
public boolean authenticationEnabled()
public java.lang.String getAccessKey()
public User getUser()
public Authenticator getAuthenticator()
public int getJmxPort()
public static java.lang.String userAsConfig(User u)
protected boolean getBoolProperty(java.lang.String name, boolean dflt)
protected int getBoundedIntProperty(java.lang.String name, int dflt, int lb, int ub)
protected int getLowerboundedIntProperty(java.lang.String name, int dflt, int lb)
protected int getIntProperty(java.lang.String name, int dflt)
public java.lang.String toString()
toString
in class java.lang.Object