|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.japtproxy.misc.Configuration
public class Configuration
This class is used to read and hold the Japt-Proxy configuration.
| Constructor Summary | |
|---|---|
Configuration(java.io.File configFile)
Initialize the configuration with the given config file. |
|
| Method Summary | |
|---|---|
Backend |
getBackend(java.lang.String backendName)
|
java.lang.String |
getHttpProxy()
Returns the Http-Proxy to be used. |
java.lang.Integer |
getMaxVersions()
Returns the max. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Configuration(java.io.File configFile)
throws InitializationException
configFile - the config file.
InitializationException - is thrown if the configuration is erroneous.| Method Detail |
|---|
public java.lang.String getHttpProxy()
public java.lang.Integer getMaxVersions()
public Backend getBackend(java.lang.String backendName)
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||