01: // HttpCaseTokenList.java
02: // $Id: HttpCaseTokenList.java,v 1.3 2000/08/16 21:37:59 ylafon Exp $
03: // (c) COPYRIGHT MIT and INRIA, 1996.
04: // Please first read the full copyright statement in file COPYRIGHT.html
05:
06: package org.w3c.www.http;
07:
08: /**
09: * Parse a comma separated list of tokens.
10: */
11:
12: public class HttpCaseTokenList extends HttpTokenList {
13: /**
14: * Create a parsed token list, for emitting.
15: */
16:
17: protected HttpCaseTokenList(String tokens[]) {
18: super (tokens);
19: this .casemode = CASE_ASIS;
20: }
21:
22: /**
23: * Create a token list from a comma separated list of tokens.
24: */
25:
26: protected HttpCaseTokenList(String tokens) {
27: super (tokens);
28: this .casemode = CASE_ASIS;
29: }
30:
31: /**
32: * Create an empty token list for parsing.
33: */
34:
35: protected HttpCaseTokenList() {
36: super();
37: this.casemode = CASE_ASIS;
38: }
39:
40: }
|