equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * CDDL HEADER START |
2 * CDDL HEADER START |
3 * |
3 * |
4 * The contents of this file are subject to the terms of the |
4 * The contents of this file are subject to the terms of the |
5 * Common Development and Distribution License, Version 1.0 only |
5 * Common Development and Distribution License (the "License"). |
6 * (the "License"). You may not use this file except in compliance |
6 * You may not use this file except in compliance with the License. |
7 * with the License. |
|
8 * |
7 * |
9 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE |
10 * or http://www.opensolaris.org/os/licensing. |
9 * or http://www.opensolaris.org/os/licensing. |
11 * See the License for the specific language governing permissions |
10 * See the License for the specific language governing permissions |
12 * and limitations under the License. |
11 * and limitations under the License. |
18 * information: Portions Copyright [yyyy] [name of copyright owner] |
17 * information: Portions Copyright [yyyy] [name of copyright owner] |
19 * |
18 * |
20 * CDDL HEADER END |
19 * CDDL HEADER END |
21 */ |
20 */ |
22 /* |
21 /* |
23 * ident "%Z%%M% %I% %E% SMI" |
|
24 * |
|
25 * Copyright (c) 1999 by Sun Microsystems, Inc. |
22 * Copyright (c) 1999 by Sun Microsystems, Inc. |
26 * All rights reserved. |
23 * All rights reserved. |
27 * |
24 * |
28 */ |
25 */ |
29 |
26 |
30 // SCCS Status: %W% %G% |
|
31 // ServiceLocationAttributeV1.java: SLPv1 character encoding and decoding |
27 // ServiceLocationAttributeV1.java: SLPv1 character encoding and decoding |
32 // Author: James Kempf |
28 // Author: James Kempf |
33 // Created On: Fri Oct 9 19:18:17 1998 |
29 // Created On: Fri Oct 9 19:18:17 1998 |
34 // Last Modified By: James Kempf |
30 // Last Modified By: James Kempf |
35 // Last Modified On: Sat Oct 24 13:17:58 1998 |
31 // Last Modified On: Sat Oct 24 13:17:58 1998 |
41 import java.util.*; |
37 import java.util.*; |
42 |
38 |
43 /** |
39 /** |
44 * Handles attribute string encoding and decoding for SLPv1. |
40 * Handles attribute string encoding and decoding for SLPv1. |
45 * |
41 * |
46 * @version %R%.%L% %D% |
|
47 * @author James Kempf |
42 * @author James Kempf |
48 */ |
43 */ |
49 |
44 |
50 class ServiceLocationAttributeV1 extends ServiceLocationAttribute { |
45 class ServiceLocationAttributeV1 extends ServiceLocationAttribute { |
51 |
46 |
58 UNESCAPABLE_CHARS + "&#;"; |
53 UNESCAPABLE_CHARS + "&#;"; |
59 |
54 |
60 /** |
55 /** |
61 * Handles radix64 string encoding and decoding for SLPv1. |
56 * Handles radix64 string encoding and decoding for SLPv1. |
62 * |
57 * |
63 * @version %R%.%L% %D% |
|
64 * @author James Kempf |
58 * @author James Kempf |
65 */ |
59 */ |
66 |
60 |
67 static class Radix64 extends Object { |
61 static class Radix64 extends Object { |
68 |
62 |