53 private static class Encoder extends DoubleByteEncoder { |
53 private static class Encoder extends DoubleByteEncoder { |
54 public Encoder(Charset cs) { |
54 public Encoder(Charset cs) { |
55 super(cs, index1, index2); |
55 super(cs, index1, index2); |
56 } |
56 } |
57 |
57 |
58 private final static String innerIndex0= |
58 private static final String innerIndex0= |
59 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
59 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
60 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
60 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
61 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
61 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
62 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
62 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
63 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
63 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
119 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
119 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
120 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
120 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
121 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
121 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"+ |
122 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"; |
122 "\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000"; |
123 |
123 |
124 private final static short index1[] = { |
124 private static final short index1[] = { |
125 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, |
125 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, |
126 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
126 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
127 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
127 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
128 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
128 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
129 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
129 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
138 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
138 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
139 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
139 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, |
140 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 |
140 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 |
141 }; |
141 }; |
142 |
142 |
143 private final static String index2[] = { |
143 private static final String index2[] = { |
144 innerIndex0 |
144 innerIndex0 |
145 }; |
145 }; |
146 |
146 |
147 /* The default implementation creates a decoder and we don't have one */ |
147 /* The default implementation creates a decoder and we don't have one */ |
148 public boolean isLegalReplacement(byte[] repl) { |
148 public boolean isLegalReplacement(byte[] repl) { |