|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
void |
addChangeListener(ParameterChangeListener p)
Adds a feature to the ChangeListener attribute of the Parameters object |
boolean |
contains(java.lang.String name)
DESCRIBE THE METHOD |
boolean |
getBoolean(java.lang.String paramName)
Gets the Boolean attribute of the Parameters object |
double |
getDouble(java.lang.String paramName)
Gets the Double attribute of the Parameters object |
float |
getFloat(java.lang.String paramName)
Gets the Float attribute of the Parameters object |
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)
Gets the Int attribute of the Parameters object |
long |
getLong(java.lang.String paramName)
Gets the Long attribute of the Parameters object |
java.lang.String |
getString(java.lang.String paramName)
Gets the String attribute of the Parameters object |
java.lang.String[] |
getStringArray(java.lang.String paramName)
Gets the StringArray attribute of the Parameters object |
void |
remove(java.lang.String name)
DESCRIBE THE METHOD |
void |
removeChangeListener(ParameterChangeListener p)
DESCRIBE THE METHOD |
void |
setBoolean(java.lang.String paramName,
boolean val)
Sets the Boolean attribute of the Parameters object |
void |
setDouble(java.lang.String paramName,
double val)
Sets the Double attribute of the Parameters object |
void |
setFloat(java.lang.String paramName,
float val)
Sets the Float attribute of the Parameters object |
void |
setInetAddress(java.lang.String paramName,
java.net.InetAddress val)
Sets the InetAddress attribute of the Parameters object |
void |
setInetSocketAddress(java.lang.String paramName,
java.net.InetSocketAddress val)
Sets the InetSocketAddress attribute of the Parameters object |
void |
setInetSocketAddressArray(java.lang.String paramName,
java.net.InetSocketAddress[] val)
Sets the InetSocketAddressArray attribute of the Parameters object |
void |
setInt(java.lang.String paramName,
int val)
Sets the Int attribute of the Parameters object |
void |
setLong(java.lang.String paramName,
long val)
Sets the Long attribute of the Parameters object |
void |
setString(java.lang.String paramName,
java.lang.String val)
Sets the String attribute of the Parameters object |
void |
setStringArray(java.lang.String paramName,
java.lang.String[] val)
Sets the StringArray attribute of the Parameters object |
void |
store()
DESCRIBE THE METHOD |
Method Detail |
public void remove(java.lang.String name)
name
- DESCRIBE THE PARAMETERpublic boolean contains(java.lang.String name)
name
- DESCRIBE THE PARAMETER
public void store() throws java.io.IOException
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic java.lang.String getString(java.lang.String paramName)
paramName
- DESCRIBE THE PARAMETER
public java.lang.String[] getStringArray(java.lang.String paramName)
paramName
- DESCRIBE THE PARAMETER
public int getInt(java.lang.String paramName)
paramName
- DESCRIBE THE PARAMETER
public double getDouble(java.lang.String paramName)
paramName
- DESCRIBE THE PARAMETER
public float getFloat(java.lang.String paramName)
paramName
- DESCRIBE THE PARAMETER
public long getLong(java.lang.String paramName)
paramName
- DESCRIBE THE PARAMETER
public boolean getBoolean(java.lang.String paramName)
paramName
- DESCRIBE THE PARAMETER
public java.net.InetAddress getInetAddress(java.lang.String paramName) throws java.net.UnknownHostException
paramName
-
java.net.UnknownHostException
public java.net.InetSocketAddress getInetSocketAddress(java.lang.String paramName) throws java.net.UnknownHostException
paramName
-
java.net.UnknownHostException
- DESCRIBE THE EXCEPTIONpublic java.net.InetSocketAddress[] getInetSocketAddressArray(java.lang.String paramName) throws java.net.UnknownHostException
paramName
-
java.net.UnknownHostException
- DESCRIBE THE EXCEPTIONpublic void setString(java.lang.String paramName, java.lang.String val)
paramName
- The new String valueval
- The new String valuepublic void setStringArray(java.lang.String paramName, java.lang.String[] val)
paramName
- The new StringArray valueval
- The new StringArray valuepublic void setInt(java.lang.String paramName, int val)
paramName
- The new Int valueval
- The new Int valuepublic void setDouble(java.lang.String paramName, double val)
paramName
- The new Double valueval
- The new Double valuepublic void setFloat(java.lang.String paramName, float val)
paramName
- The new Float valueval
- The new Float valuepublic void setLong(java.lang.String paramName, long val)
paramName
- The new Long valueval
- The new Long valuepublic void setBoolean(java.lang.String paramName, boolean val)
paramName
- The new Boolean valueval
- The new Boolean valuepublic void setInetAddress(java.lang.String paramName, java.net.InetAddress val)
paramName
- The new InetAddress valueval
- The new InetAddress valuepublic void setInetSocketAddress(java.lang.String paramName, java.net.InetSocketAddress val)
paramName
- The new InetSocketAddress valueval
- The new InetSocketAddress valuepublic void setInetSocketAddressArray(java.lang.String paramName, java.net.InetSocketAddress[] val)
paramName
- The new InetSocketAddressArray valueval
- The new InetSocketAddressArray valuepublic void addChangeListener(ParameterChangeListener p)
p
- The feature to be added to the ChangeListener attributepublic void removeChangeListener(ParameterChangeListener p)
p
- DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |