jdk/src/share/classes/sun/nio/cs/ext/JISAutoDetect.java
changeset 5785 5dfabe612d10
parent 5506 202f599c92aa
child 7668 d4a77089c587
equal deleted inserted replaced
5784:e565c553e9fc 5785:5dfabe612d10
    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;