2362N/A * Copyright (c) 2008, Oracle and/or its affiliates. All rights reserved. 177N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 177N/A * This code is free software; you can redistribute it and/or modify it 177N/A * under the terms of the GNU General Public License version 2 only, as 2362N/A * published by the Free Software Foundation. Oracle designates this 177N/A * particular file as subject to the "Classpath" exception as provided 2362N/A * by Oracle in the LICENSE file that accompanied this code. 177N/A * This code is distributed in the hope that it will be useful, but WITHOUT 177N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 177N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 177N/A * version 2 for more details (a copy is included in the LICENSE file that 177N/A * accompanied this code). 177N/A * You should have received a copy of the GNU General Public License version 177N/A * 2 along with this work; if not, write to the Free Software Foundation, 177N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 2362N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2362N/A * or visit www.oracle.com if you need additional information or have any 177N/A // for jis0213 all supplementary characters are in 0x2xxxx range, 177N/A // so only the xxxx part is now stored, should actually store the 177N/A // codepoint value instead. 177N/A // init the CharsetMapping object from the .dat binary file 177N/A public int bs;
//byte sequence reps 177N/A public int cp;
//Unicode codepoint 177N/A /*****************************************************************************/ 177N/A // tags of different charset mapping tables 177N/A // first 2 bytes are the number of "chars" stored in this table 177N/A //System.out.printf(" DB %x\t%x%n", b, c & 0xffff); 177N/A // The first 4 bytes are the size of the total data followed in 177N/A //System.out.printf("In : Total=%d%n", len);