Home
last modified time | relevance | path

Searched refs:CLDRPaths (Results 1 – 25 of 172) sorted by relevance

1234567

/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DCLDRPaths.java19 public class CLDRPaths { class
43 CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, MAIN_SUBDIR));
45 …public static final String RBNF_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, RBNF_S…
46 …public static final String TRANSFORMS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, …
47 …public static final String ANNOTATIONS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY,…
48 …public static final String SUBDIVISIONS_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY…
49 …public static final String ANNOTATIONS_DERIVED_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DI…
50 …public static final String VALIDITY_DIRECTORY = CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, VA…
52 …public static final String STAGING_DIRECTORY = CldrUtility.getPath(CLDRPaths.BASE_DIRECTORY, "../c…
57 CldrUtility.getPath(CLDRPaths.COMMON_DIRECTORY, "../" + "seed/"));
[all …]
DCLDRConfig.java171 …static final SupplementalDataInfo SINGLETON = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_S…
188 static final Factory SINGLETON = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*");
196 static final Factory SINGLETON = Factory.make(CLDRPaths.EXEMPLARS_DIRECTORY, ".*");
204 static final Factory SINGLETON = Factory.make(CLDRPaths.COLLATION_DIRECTORY, ".*")
207 new File(CLDRPaths.COLLATION_DIRECTORY),
208 SKIP_SEED ? null : new File(CLDRPaths.SEED_COLLATION_DIRECTORY)
227 static final Factory SINGLETON = Factory.make(CLDRPaths.RBNF_DIRECTORY, ".*");
236 new File(CLDRPaths.ANNOTATIONS_DIRECTORY),
237 SKIP_SEED ? null : new File(CLDRPaths.SEED_ANNOTATIONS_DIRECTORY)
247 static final Factory SINGLETON = Factory.make(CLDRPaths.SUBDIVISIONS_DIRECTORY, ".*");
[all …]
DTestUtilities.java111 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in testNames()
123 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in testExampleGenerator()
127 CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY); in testExampleGenerator()
151 …PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "test/", "test_examples.h… in testExampleGenerator()
345 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in writeMetaData()
400 … PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "meta/", "metaData.xml"); in writeMetaData()
404 xfr.read(CLDRPaths.GEN_DIRECTORY + "meta/metaData.xml", XMLFileReader.CONTENT_HANDLER in writeMetaData()
410 xfr.read(CLDRPaths.MAIN_DIRECTORY + "root.xml", -1, true); in testXMLFileReader()
619 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in checkLanguages()
648 …Factory mainCldrFactory = Factory.make(CLDRPaths.COMMON_DIRECTORY + "main" + File.separator, ".*"); in printCountries()
[all …]
/external/cldr/tools/cldr-rdf/src/main/java/org/unicode/cldr/tool/
DGenerateSubdivisions.java17 import org.unicode.cldr.util.CLDRPaths;
29 …private static final String ISO_COUNTRY_CODES = CLDRPaths.CLDR_PRIVATE_DIRECTORY + "iso_country_co…
40 …static final SupplementalDataInfo SDI_LAST = SupplementalDataInfo.getInstance(CLDRPaths.LAST_RELEA…
46 …static final Validity VALIDITY_FORMER = Validity.getInstance(CLDRPaths.LAST_RELEASE_DIRECTORY + "c…
97 …SubdivisionSet sdset1 = new SubdivisionSet(CLDRPaths.CLDR_PRIVATE_DIRECTORY + source + "/iso_count… in main()
98 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/" + sourc… in main()
111 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main()
114 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main()
117 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/en.xml"))… in main()
120 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/categorie… in main()
[all …]
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/unittest/
DTestCldrFactory.java19 import org.unicode.cldr.util.CLDRPaths;
40 new File(CLDRPaths.MAIN_DIRECTORY), in testDirectories()
41 new File(CLDRPaths.ANNOTATIONS_DIRECTORY), in testDirectories()
42 new File(CLDRPaths.SUPPLEMENTAL_DIRECTORY) in testDirectories()
45 …List<File> enExpected = Arrays.asList(new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOT… in testDirectories()
55 assertEquals("", new File(CLDRPaths.MAIN_DIRECTORY), enDir); in testDirectories()
62 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testMerge()
66 … File[] paths = { new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in testMerge()
162 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in testWrite()
165 … File[] paths = { new File(CLDRPaths.MAIN_DIRECTORY), new File(CLDRPaths.ANNOTATIONS_DIRECTORY) }; in testWrite()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/tool/
DGenerateAllCharts.java3 import org.unicode.cldr.util.CLDRPaths;
20 FileCopier.copy(GenerateAllCharts.class, "index.css", CLDRPaths.CHART_DIRECTORY); in main()
21 …FileCopier.copy(GenerateAllCharts.class, "main-index.html", CLDRPaths.CHART_DIRECTORY, "index.html… in main()
22 FormattedFileWriter.copyIncludeHtmls(CLDRPaths.CHART_DIRECTORY); in main()
DCldrVersion.java12 import org.unicode.cldr.util.CLDRPaths;
116 baseDirectory = CLDRPaths.ARCHIVE_DIRECTORY + "cldr-" + toString() + "/"; in CldrVersion()
119 baseDirectory = CLDRPaths.BASE_DIRECTORY; in CldrVersion()
174 for (String subdir : new File(CLDRPaths.ARCHIVE_DIRECTORY).list()) { in checkVersions()
199 …errorMessages.add("Extra ToolConstants.CLDR_VERSIONS compared to " + CLDRPaths.ARCHIVE_DIRECTORY +… in checkVersions()
204 …errorMessages.add("Extra folders in " + CLDRPaths.ARCHIVE_DIRECTORY + " compared to ToolConstants.… in checkVersions()
210 … errorMessages.add("Extra enums compared to " + CLDRPaths.ARCHIVE_DIRECTORY + ": " + extraEnums); in checkVersions()
DGenerateAttributeList.java24 import org.unicode.cldr.util.CLDRPaths;
47 addFromDTD(CLDRPaths.COMMON_DIRECTORY + "main/en.xml"); in GenerateAttributeList()
48 addFromDTD(CLDRPaths.COMMON_DIRECTORY + "supplemental/characters.xml"); in GenerateAttributeList()
49 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "collation/"); in GenerateAttributeList()
50 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "main/"); in GenerateAttributeList()
51 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "rbnf/"); in GenerateAttributeList()
52 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "segments/"); in GenerateAttributeList()
53 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "supplemental/"); in GenerateAttributeList()
54 addFromDirectory(CLDRPaths.COMMON_DIRECTORY + "transforms/"); in GenerateAttributeList()
DCompareHanTransliterators.java7 import org.unicode.cldr.util.CLDRPaths;
22 reader.read(CLDRPaths.COMMON_DIRECTORY + "transforms/Han-Latin.xml", in main()
28 reader.read(CLDRPaths.LAST_RELEASE_DIRECTORY + "/common/transforms/Han-Latin.xml", in main()
33 …PrintWriter out = FileUtilities.openUTF8Writer(org.unicode.cldr.util.CLDRPaths.GEN_DIRECTORY, "han… in main()
DRemoveEmptyCldrFiles.java6 import org.unicode.cldr.util.CLDRPaths;
13 new File(CLDRPaths.ANNOTATIONS_DIRECTORY) in main()
18 File file = new File(CLDRPaths.ANNOTATIONS_DIRECTORY, localeId + ".xml"); in main()
DGenerateDtd.java6 import org.unicode.cldr.util.CLDRPaths;
33 …try (TempPrintWriter out = TempPrintWriter.openUTF8Writer(CLDRPaths.BASE_DIRECTORY + type.dtdPath)… in main()
35 System.err.println("Wrote: " + CLDRPaths.BASE_DIRECTORY + type.dtdPath); in main()
DDumpCoverage.java11 import org.unicode.cldr.util.CLDRPaths;
23 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main()
25 PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "coverageDump.txt"); in main()
DCheckoutArchive.java8 import org.unicode.cldr.util.CLDRPaths;
14 Path archiveDir = new File(CLDRPaths.ARCHIVE_DIRECTORY).toPath(); in main()
40 .directory(new File(CLDRPaths.BASE_DIRECTORY)) in main()
DGenerateLanguageData.java14 import org.unicode.cldr.util.CLDRPaths;
33 …static SupplementalDataInfo supplementalData = SupplementalDataInfo.getInstance(CLDRPaths.SUPPLEME…
49 System.out.println("generating en.xml.. to " + CLDRPaths.GEN_DIRECTORY); in main()
76 try (PrintWriter w = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, filename)) { in main()
78 System.out.println("Wrote to " + CLDRPaths.GEN_DIRECTORY + "/" + filename); in main()
DShowLanguageData.java7 import org.unicode.cldr.util.CLDRPaths;
16 …static SupplementalDataInfo data = SupplementalDataInfo.getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTO…
17 static CLDRFile english = SimpleFactory.makeFile("en", CLDRPaths.MAIN_DIRECTORY, true);
DPrepareRootAnnotations.java8 import org.unicode.cldr.util.CLDRPaths;
20 Factory factoryAnnotations = SimpleFactory.make(CLDRPaths.ANNOTATIONS_DIRECTORY, ".*"); in main()
46 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "annotations/", "root… in main()
DRemoveEmptyCLDR.java12 import org.unicode.cldr.util.CLDRPaths;
34 …for (String dirCommonSeed : Arrays.asList(CLDRPaths.SEED_DIRECTORY1, CLDRPaths.COMMON_DIRECTORY)) { in main()
DGenerateIndexCharacters.java13 import org.unicode.cldr.util.CLDRPaths;
25 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main()
32 …PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "indexchars/", locale + "… in main()
DScriptPopulations.java7 import org.unicode.cldr.util.CLDRPaths;
17 .getInstance(CLDRPaths.SUPPLEMENTAL_DIRECTORY);
19 static Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*");
DToolConstants.java7 import org.unicode.cldr.util.CLDRPaths;
102 return CLDRPaths.BASE_DIRECTORY; in getBaseDirectory()
104 return CLDRPaths.ARCHIVE_DIRECTORY + "cldr-" + vi.getVersionString(2, 3) + "/"; in getBaseDirectory()
DXMLModify.java14 import org.unicode.cldr.util.CLDRPaths;
26 .setDefault(CLDRPaths.COMMON_DIRECTORY)
29 .setDefault(CLDRPaths.GEN_DIRECTORY + "xmlModify")
DGenerateTempDateData.java11 import org.unicode.cldr.util.CLDRPaths;
25 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in main()
27 …PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "datedata/", "DateData.jav… in main()
DCopySubdivisionsIntoMain.java14 import org.unicode.cldr.util.CLDRPaths;
28 …private static final String MAIN_TARGET_DIR = CLDRPaths.MAIN_DIRECTORY; // for testing, CLDRPaths.…
30 …private static final String SUBDIVISION_TARGET_DIR = CLDRPaths.SUBDIVISIONS_DIRECTORY; // CLDRPath…
199 writeFile(CLDRPaths.SUBDIVISIONS_DIRECTORY, fileName, sd); in doBefore()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/posix/
DPOSIXLocale.java16 import org.unicode.cldr.util.CLDRPaths;
52 Factory mainFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*"); in POSIXLocale()
53 Factory suppFactory = Factory.make(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECTORY, ".*"); in POSIXLocale()
54 Factory collFactory = Factory.make(CLDRPaths.COLLATION_DIRECTORY, ".*"); in POSIXLocale()
56 …SupplementalDataInfo supp = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECT… in POSIXLocale()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/draft/
DGenerateLanguageData.java13 import org.unicode.cldr.util.CLDRPaths;
27 …SupplementalDataInfo info = SupplementalDataInfo.getInstance(CLDRPaths.DEFAULT_SUPPLEMENTAL_DIRECT…
28 Factory cldrFactory = Factory.make(CLDRPaths.MAIN_DIRECTORY, ".*");
41 …try (PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "langData/", "genera… in run()

1234567