|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Parameters
Parameters interface for FreePastry Usually acquired by calling environment.getParameters().
Method Summary | |
---|---|
void |
addChangeListener(ParameterChangeListener p)
|
boolean |
contains(java.lang.String name)
|
boolean |
getBoolean(java.lang.String paramName)
|
double |
getDouble(java.lang.String paramName)
|
float |
getFloat(java.lang.String paramName)
|
java.net.InetAddress |
getInetAddress(java.lang.String paramName)
String format is dnsname ex: "computer.school.edu" |
java.net.InetSocketAddress |
getInetSocketAddress(java.lang.String paramName)
String format is name:port ex: "computer.school.edu:1984" |
java.net.InetSocketAddress[] |
getInetSocketAddressArray(java.lang.String paramName)
String format is comma seperated. |
int |
getInt(java.lang.String paramName)
|
long |
getLong(java.lang.String paramName)
|
java.lang.String |
getString(java.lang.String paramName)
|
java.lang.String[] |
getStringArray(java.lang.String paramName)
|
void |
remove(java.lang.String name)
|
void |
removeChangeListener(ParameterChangeListener p)
|
void |
setBoolean(java.lang.String paramName,
boolean val)
|
void |
setDouble(java.lang.String paramName,
double val)
|
void |
setFloat(java.lang.String paramName,
float val)
|
void |
setInetAddress(java.lang.String paramName,
java.net.InetAddress val)
|
void |
setInetSocketAddress(java.lang.String paramName,
java.net.InetSocketAddress val)
|
void |
setInetSocketAddressArray(java.lang.String paramName,
java.net.InetSocketAddress[] val)
|
void |
setInt(java.lang.String paramName,
int val)
|
void |
setLong(java.lang.String paramName,
long val)
|
void |
setString(java.lang.String paramName,
java.lang.String val)
|
void |
setStringArray(java.lang.String paramName,
java.lang.String[] val)
|
void |
store()
|
Method Detail |
---|
void remove(java.lang.String name)
boolean contains(java.lang.String name)
void store() throws java.io.IOException
java.io.IOException
java.lang.String getString(java.lang.String paramName)
java.lang.String[] getStringArray(java.lang.String paramName)
int getInt(java.lang.String paramName)
double getDouble(java.lang.String paramName)
float getFloat(java.lang.String paramName)
long getLong(java.lang.String paramName)
boolean getBoolean(java.lang.String paramName)
java.net.InetAddress getInetAddress(java.lang.String paramName) throws java.net.UnknownHostException
paramName
-
java.net.UnknownHostException
java.net.InetSocketAddress getInetSocketAddress(java.lang.String paramName) throws java.net.UnknownHostException
paramName
-
java.net.UnknownHostException
java.net.InetSocketAddress[] getInetSocketAddressArray(java.lang.String paramName) throws java.net.UnknownHostException
paramName
-
java.net.UnknownHostException
void setString(java.lang.String paramName, java.lang.String val)
void setStringArray(java.lang.String paramName, java.lang.String[] val)
void setInt(java.lang.String paramName, int val)
void setDouble(java.lang.String paramName, double val)
void setFloat(java.lang.String paramName, float val)
void setLong(java.lang.String paramName, long val)
void setBoolean(java.lang.String paramName, boolean val)
void setInetAddress(java.lang.String paramName, java.net.InetAddress val)
void setInetSocketAddress(java.lang.String paramName, java.net.InetSocketAddress val)
void setInetSocketAddressArray(java.lang.String paramName, java.net.InetSocketAddress[] val)
void addChangeListener(ParameterChangeListener p)
void removeChangeListener(ParameterChangeListener p)
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |