FileDocCategorySizeDatePackage
QueryString.javaAPI DocExample587Sat Sep 09 19:54:42 BST 2000com.macfaq.net

QueryString

public class QueryString extends Object

Fields Summary
private String
query
Constructors Summary
public QueryString(Object name, Object value)

    query = URLEncoder.encode(name.toString()) + "=" + 
      URLEncoder.encode(value.toString());
  
public QueryString()

    query = "";
  
Methods Summary
public synchronized voidadd(java.lang.Object name, java.lang.Object value)

  
    if (!query.trim().equals("")) query += "&" ; 
    query += URLEncoder.encode(name.toString()) + "=" + 
     URLEncoder.encode(value.toString());
  
  
public java.lang.StringtoString()

    return query;