1 package org.apache.turbine.util;
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 /***
20 * ParameterParser is an interface to a utility to handle parsing and
21 * retrieving the data passed via the GET/POST/PATH_INFO arguments.
22 *
23 * <p>NOTE: The name= portion of a name=value pair may be converted
24 * to lowercase or uppercase when the object is initialized and when
25 * new data is added. This behaviour is determined by the url.case.folding
26 * property in TurbineResources.properties. Adding a name/value pair may
27 * overwrite existing name=value pairs if the names match:
28 *
29 * <pre>
30 * ParameterParser pp = data.getParameters();
31 * pp.add("ERROR",1);
32 * pp.add("eRrOr",2);
33 * int result = pp.getInt("ERROR");
34 * </pre>
35 *
36 * In the above example, result is 2.
37 *
38 * @author <a href="mailto:ilkka.priha@simsoft.fi">Ilkka Priha</a>
39 * @author <a href="mailto:jon@clearink.com">Jon S. Stevens</a>
40 * @author <a href="mailto:sean@informage.net">Sean Legassick</a>
41 * @author <a href="mailto:hps@intermeta.de">Henning P. Schmiedehausen</a>
42 * @version $Id: ParameterParser.java 264148 2005-08-29 14:21:04Z henning $
43 * @deprecated Use org.apache.turbine.util.parser.ParameterParser instead.
44 */
45 public interface ParameterParser
46 extends org.apache.turbine.util.parser.ParameterParser
47 {
48 }