Path: blob/master/test/jdk/lib/testlibrary/java/lang/UCDFiles.java
41153 views
/*1* Copyright (c) 2019, 2020, Oracle and/or its affiliates. All rights reserved.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 it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation.7*8* This code is distributed in the hope that it will be useful, but WITHOUT9* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or10* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License11* version 2 for more details (a copy is included in the LICENSE file that12* accompanied this code).13*14* You should have received a copy of the GNU General Public License version15* 2 along with this work; if not, write to the Free Software Foundation,16* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.17*18* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA19* or visit www.oracle.com if you need additional information or have any20* questions.21*/2223/**24* Holds the file paths to the Unicode Character Database source files.25* Paths to the source files in the "make" directory are relative, and26* subject to change due to future repository structure re-org.27*/2829import java.nio.file.Path;30import java.nio.file.Paths;3132public class UCDFiles {33public static Path UCD_DIR = Paths.get(34System.getProperty("test.root"), "..", "..", "make", "data", "unicodedata");3536public static Path BLOCKS =37UCD_DIR.resolve("Blocks.txt");38public static Path DERIVED_PROPS =39UCD_DIR.resolve("DerivedCoreProperties.txt");40public static Path GRAPHEME_BREAK_PROPERTY =41UCD_DIR.resolve("auxiliary").resolve("GraphemeBreakProperty.txt");42public static Path GRAPHEME_BREAK_TEST =43UCD_DIR.resolve("auxiliary").resolve("GraphemeBreakTest.txt");44public static Path NORMALIZATION_TEST =45UCD_DIR.resolve("NormalizationTest.txt");46public static Path PROP_LIST =47UCD_DIR.resolve("PropList.txt");48public static Path PROPERTY_VALUE_ALIASES =49UCD_DIR.resolve("PropertyValueAliases.txt");50public static Path SCRIPTS =51UCD_DIR.resolve("Scripts.txt");52public static Path SPECIAL_CASING =53UCD_DIR.resolve("SpecialCasing.txt");54public static Path UNICODE_DATA =55UCD_DIR.resolve("UnicodeData.txt");56public static Path EMOJI_DATA =57UCD_DIR.resolve("emoji").resolve("emoji-data.txt");58}596061