< prev index next >

src/java.base/share/classes/jdk/internal/icu/impl/UCharacterProperty.java

Print this page
rev 57619 : imported patch 8174270

*** 1,7 **** /* ! * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 27,45 **** * Copyright (C) 1996-2014, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ ! package sun.text.normalizer; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Iterator; import java.util.MissingResourceException; ! import sun.text.normalizer.UCharacter.HangulSyllableType; ! import sun.text.normalizer.UCharacter.NumericType; /** * <p>Internal class used for Unicode character property database.</p> * <p>This classes store binary data read from uprops.icu. * It does not have the capability to parse the data into more high-level --- 27,48 ---- * Copyright (C) 1996-2014, International Business Machines Corporation and * others. All Rights Reserved. ******************************************************************************* */ ! package jdk.internal.icu.impl; import java.io.IOException; import java.nio.ByteBuffer; import java.util.Iterator; import java.util.MissingResourceException; ! import jdk.internal.icu.lang.UCharacter.HangulSyllableType; ! import jdk.internal.icu.lang.UCharacter.NumericType; ! import jdk.internal.icu.text.UTF16; ! import jdk.internal.icu.text.UnicodeSet; ! import jdk.internal.icu.util.VersionInfo; /** * <p>Internal class used for Unicode character property database.</p> * <p>This classes store binary data read from uprops.icu. * It does not have the capability to parse the data into more high-level
*** 52,62 **** * <a href=UCharacter.html>UCharacter</a>.</p> * @author Syn Wee Quek * @since release 2.1, february 1st 2002 */ ! final class UCharacterProperty { // public data members ----------------------------------------------- /* * public singleton instance --- 55,65 ---- * <a href=UCharacter.html>UCharacter</a>.</p> * @author Syn Wee Quek * @since release 2.1, february 1st 2002 */ ! public final class UCharacterProperty { // public data members ----------------------------------------------- /* * public singleton instance
*** 315,325 **** // private variables ------------------------------------------------- /** * Default name of the datafile */ ! private static final String DATA_FILE_NAME_ = "/sun/text/resources/uprops.icu"; /** * Shift value for lead surrogate to form a supplementary character. */ private static final int LEAD_SURROGATE_SHIFT_ = 10; --- 318,328 ---- // private variables ------------------------------------------------- /** * Default name of the datafile */ ! private static final String DATA_FILE_NAME_ = "/jdk/internal/icu/impl/data/icudt64b/uprops.icu"; /** * Shift value for lead surrogate to form a supplementary character. */ private static final int LEAD_SURROGATE_SHIFT_ = 10;
< prev index next >