|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.smila.http.server.internal.HttpServerProperties
public class HttpServerProperties
loads configuration file httpserver.properties.
| Constructor Summary | |
|---|---|
HttpServerProperties()
create instance and load properties. |
|
| Method Summary | |
|---|---|
long |
getDataSize(java.lang.String key,
java.lang.String defaultValue)
parse a property value as a data size (512m, 2g, ...). |
java.lang.String |
getProperty(java.lang.String key)
get value for key, if set. |
java.lang.String |
getProperty(java.lang.String key,
java.lang.String defaultValue)
get value for key, if set, else return defaultValue. |
void |
loadConfiguration()
load configuration. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HttpServerProperties()
| Method Detail |
|---|
public void loadConfiguration()
public java.lang.String getProperty(java.lang.String key)
public java.lang.String getProperty(java.lang.String key,
java.lang.String defaultValue)
public long getDataSize(java.lang.String key,
java.lang.String defaultValue)
|
SMILA 1.0 API documentation | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||