文档介绍:×÷ÕߣºÂÞͤ
email: tinluo@
ÈÕÆÚ£º2001-3-8 13:57:47
Ðø
---
/**
Insert the method's description here.
Creation date: (2001-2-4 17:28:17)
***@return
*/
public Enumeration getParameterNames() {
if (pairs == null) return null;
return ();
}
/**
Insert the method's description here.
Creation date: (2001-2-4 17:33:40)
***@return []
***@param name
*/
public String[] getParameterValues(String name) {
if (pairs == null || !(name)) return null;
ArrayList al = (ArrayList) (name);
String[] values = new String[()];
for(int i=0;i<;i++)
values[i] = (String) (i);
return values;
}
/**
Insert the method's description here.
Creation date: (2001-2-4 20:34:37)
***@param urlenc
*/
private void parse(String urlenc) throws {
if (urlenc == null) return;
StringTokenizer tok = new StringTokenizer(urlenc,"&");
try{
while (()){
String aPair = ();
int pos = ("=");
String name = null;
String value = null;
if(pos != -1){
name = decode((0,pos));
value = decode((pos+1));
}else{
name = aPair;
value = "";
}
if((name)){
ArrayList values = (ArrayList)(name);
(value);
}else{
ArrayList values = new ArrayList();