/Users/lyon/j4p/src/net/proxy/Constants.java
|
1 /*
2 * @author Douglas A. Lyon
3 * @version Nov 17, 2002.2:39:23 PM
4 */
5 package net.proxy;
6
7 public class Constants {
8 /**
9 * Byte value that maps to 'a' in Base64 encoding
10 */
11 final static int LOWER_CASE_A_VALUE = 26;
12 /**
13 * Byte value that maps to '0' in Base64 encoding
14 */
15 final static int ZERO_VALUE = 52;
16 /**
17 * Byte value that maps to '+' in Base64 encoding
18 */
19 final static int PLUS_VALUE = 62;
20 /**
21 * Byte value that maps to '/' in Base64 encoding
22 */
23 final static int SLASH_VALUE = 63;
24 /**
25 * Bit mask for one character worth of bits in Base64 encoding.
26 * Equivalent to binary value 111111b.
27 */
28 final static int SIX_BIT_MASK = 63;
29 }
30