equal
deleted
inserted
replaced
80 /** |
80 /** |
81 * accessor methods used to share byte masking tables |
81 * accessor methods used to share byte masking tables |
82 * with the sun.io JISAutoDetect implementation |
82 * with the sun.io JISAutoDetect implementation |
83 */ |
83 */ |
84 |
84 |
85 public byte[] getByteMask1() { |
85 public static byte[] getByteMask1() { |
86 return Decoder.maskTable1; |
86 return Decoder.maskTable1; |
87 } |
87 } |
88 |
88 |
89 public byte[] getByteMask2() { |
89 public static byte[] getByteMask2() { |
90 return Decoder.maskTable2; |
90 return Decoder.maskTable2; |
91 } |
91 } |
92 |
92 |
93 public final static boolean canBeSJIS1B(int mask) { |
93 public final static boolean canBeSJIS1B(int mask) { |
94 return (mask & SJIS1B_MASK) != 0; |
94 return (mask & SJIS1B_MASK) != 0; |