< prev index next >

src/java.base/share/classes/jdk/internal/icu/lang/UCharacterEnums.java

Print this page
rev 57619 : [mq]: 8174270
   1 /*

   2  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   3  *
   4  * This code is free software; you can redistribute it and/or modify it
   5  * under the terms of the GNU General Public License version 2 only, as
   6  * published by the Free Software Foundation.  Oracle designates this
   7  * particular file as subject to the "Classpath" exception as provided
   8  * by Oracle in the LICENSE file that accompanied this code.
   9  *
  10  * This code is distributed in the hope that it will be useful, but WITHOUT
  11  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  12  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  13  * version 2 for more details (a copy is included in the LICENSE file that
  14  * accompanied this code).
  15  *
  16  * You should have received a copy of the GNU General Public License version
  17  * 2 along with this work; if not, write to the Free Software Foundation,
  18  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  19  *
  20  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  21  * or visit www.oracle.com if you need additional information or have any


  33 //          - copy this file from icu4jsrc_3_2/src/com/ibm/icu/lang/UCharacterEnums.java
  34 //          - move from package com.ibm.icu.lang to package sun.net.idn
  35 //
  36 //      2011-09-06 Kurchi Subhra Hazra
  37 //          - Added @Deprecated tag to the following:
  38 //            - class UCharacterEnums
  39 //            - interfaces ECharacterCategory, ECharacterDirection
  40 //            - fields INITIAL_QUOTE_PUNCTUATION, FINAL_QUOTE_PUNCTUATION,
  41 //              DIRECTIONALITY_LEFT_TO_RIGHT, DIRECTIONALITY_RIGHT_TO_LEFT,
  42 //              DIRECTIONALITY_EUROPEAN_NUMBER, DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR
  43 //              DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR, DIRECTIONALITY_ARABIC_NUMBER,
  44 //              DIRECTIONALITY_COMMON_NUMBER_SEPARATOR, DIRECTIONALITY_PARAGRAPH_SEPARATOR,
  45 //              DIRECTIONALITY_SEGMENT_SEPARATOR, DIRECTIONALITY_WHITESPACE,
  46 //              DIRECTIONALITY_OTHER_NEUTRALS, DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING,
  47 //              DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE, DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC,
  48 //              DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING, DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE,
  49 //              DIRECTIONALITY_POP_DIRECTIONAL_FORMAT, DIRECTIONALITY_NON_SPACING_MARK,
  50 //              DIRECTIONALITY_BOUNDARY_NEUTRAL, DIRECTIONALITY_UNDEFINED
  51 //
  52 
  53 package sun.net.idn;
  54 
  55 /**
  56  * A container for the different 'enumerated types' used by UCharacter.
  57  * @draft ICU 3.0
  58  * @deprecated This is a draft API and might change in a future release of ICU.
  59  */
  60 
  61 @Deprecated
  62 class UCharacterEnums {
  63 
  64     /** This is just a namespace, it is not instantiatable. */
  65     private UCharacterEnums() {};
  66 
  67     /**
  68      * 'Enum' for the CharacterCategory constants.  These constants are
  69      * compatible in name <b>but not in value</b> with those defined in
  70      * <code>java.lang.Character</code>.
  71      * @see UCharacterCategory
  72      * @draft ICU 3.0
  73      * @deprecated This is a draft API and might change in a future release of ICU.


   1 /*
   2  * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


  34 //          - copy this file from icu4jsrc_3_2/src/com/ibm/icu/lang/UCharacterEnums.java
  35 //          - move from package com.ibm.icu.lang to package sun.net.idn
  36 //
  37 //      2011-09-06 Kurchi Subhra Hazra
  38 //          - Added @Deprecated tag to the following:
  39 //            - class UCharacterEnums
  40 //            - interfaces ECharacterCategory, ECharacterDirection
  41 //            - fields INITIAL_QUOTE_PUNCTUATION, FINAL_QUOTE_PUNCTUATION,
  42 //              DIRECTIONALITY_LEFT_TO_RIGHT, DIRECTIONALITY_RIGHT_TO_LEFT,
  43 //              DIRECTIONALITY_EUROPEAN_NUMBER, DIRECTIONALITY_EUROPEAN_NUMBER_SEPARATOR
  44 //              DIRECTIONALITY_EUROPEAN_NUMBER_TERMINATOR, DIRECTIONALITY_ARABIC_NUMBER,
  45 //              DIRECTIONALITY_COMMON_NUMBER_SEPARATOR, DIRECTIONALITY_PARAGRAPH_SEPARATOR,
  46 //              DIRECTIONALITY_SEGMENT_SEPARATOR, DIRECTIONALITY_WHITESPACE,
  47 //              DIRECTIONALITY_OTHER_NEUTRALS, DIRECTIONALITY_LEFT_TO_RIGHT_EMBEDDING,
  48 //              DIRECTIONALITY_LEFT_TO_RIGHT_OVERRIDE, DIRECTIONALITY_RIGHT_TO_LEFT_ARABIC,
  49 //              DIRECTIONALITY_RIGHT_TO_LEFT_EMBEDDING, DIRECTIONALITY_RIGHT_TO_LEFT_OVERRIDE,
  50 //              DIRECTIONALITY_POP_DIRECTIONAL_FORMAT, DIRECTIONALITY_NON_SPACING_MARK,
  51 //              DIRECTIONALITY_BOUNDARY_NEUTRAL, DIRECTIONALITY_UNDEFINED
  52 //
  53 
  54 package jdk.internal.icu.lang;
  55 
  56 /**
  57  * A container for the different 'enumerated types' used by UCharacter.
  58  * @draft ICU 3.0
  59  * @deprecated This is a draft API and might change in a future release of ICU.
  60  */
  61 
  62 @Deprecated
  63 class UCharacterEnums {
  64 
  65     /** This is just a namespace, it is not instantiatable. */
  66     private UCharacterEnums() {};
  67 
  68     /**
  69      * 'Enum' for the CharacterCategory constants.  These constants are
  70      * compatible in name <b>but not in value</b> with those defined in
  71      * <code>java.lang.Character</code>.
  72      * @see UCharacterCategory
  73      * @draft ICU 3.0
  74      * @deprecated This is a draft API and might change in a future release of ICU.


< prev index next >