|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectariba.ui.aribaweb.util.Parameters
public class Parameters
Servlet style parameters from URL or CGI or RFC822 and friends The parameter names are case insensitive. We use the java.util classes because the Servlet API requires it.
| Field Summary | |
|---|---|
static String |
ClassName
|
| Constructor Summary | |
|---|---|
Parameters()
Any class that implements Externalizable must have a constructor with no arguments. |
|
Parameters(Map hashtable)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
Object |
debugState()
Returns an object that will be toStringed when the debug information needs to be printed. |
String |
getParameter(String name)
|
int |
getParameterCount()
|
Iterator |
getParameterNames()
|
String[] |
getParameterValues(String name)
|
Iterator |
getParameterValuesIterator(String name)
|
void |
putParameter(String name,
String value)
|
void |
readExternal(ObjectInput input)
Implementation of the Externalizable interface |
String |
removeParameter(String name)
|
String[] |
removeParameterValues(String name)
|
String |
replaceParameter(String name,
String value)
Convenience method which removes the given parameter if it exists, then puts the new parameter value. |
String |
toString()
|
void |
writeExternal(ObjectOutput output)
Implementation of the Externalizable interface |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final String ClassName
| Constructor Detail |
|---|
public Parameters()
public Parameters(Map hashtable)
| Method Detail |
|---|
public void putParameter(String name,
String value)
public String getParameter(String name)
public int getParameterCount()
public String[] getParameterValues(String name)
public Iterator getParameterValuesIterator(String name)
public Iterator getParameterNames()
public String removeParameter(String name)
public String[] removeParameterValues(String name)
public String replaceParameter(String name,
String value)
public void writeExternal(ObjectOutput output)
throws IOException
writeExternal in interface ExternalizableIOException
public void readExternal(ObjectInput input)
throws IOException,
ClassNotFoundException
readExternal in interface ExternalizableIOException
ClassNotFoundExceptionpublic String toString()
toString in class Objectpublic Object debugState()
DebugStateThe most common implementation is to create a new Map and set key and value pairs of information in that Map which it will then return.
debugState in interface DebugStateThreadDebugState.set(ariba.util.core.ThreadDebugKey, java.lang.Object)public void clear()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||