HomeSort by relevance Sort by last modified time
    Searched refs:CldrUtility (Results 1 - 25 of 155) sorted by null

1 2 3 4 5 6 7

  /external/cldr/tools/java/org/unicode/cldr/util/
CLDRPaths.java 10 * Constant paths (moved here from CldrUtility).
21 public static final String BASE_DIRECTORY = CldrUtility.getPath(CldrUtility.getProperty("CLDR_DIR", null)); // new
22 public static final String LOCAL_DIRECTORY = CldrUtility.getPath(CldrUtility.getProperty("LOCAL_DIR", BASE_DIRECTORY + "/../"));
23 public static final String EXTERNAL_DIRECTORY = CldrUtility.getPath(CldrUtility.getProperty("UCD_DIR", LOCAL_DIRECTORY));
28 public static final String COMMON_DIRECTORY = CldrUtility.getPath(BASE_DIRECTORY, "common/");
29 public static final String COLLATION_DIRECTORY = CldrUtility.getPath(COMMON_DIRECTORY, "collation/");
30 public static final String CASING_DIRECTORY = CldrUtility.getPath(COMMON_DIRECTORY, "casing/")
    [all...]
FileReaders.java 18 return openFile(class1, file, CldrUtility.UTF8);
37 charset = CldrUtility.UTF8;
66 return openFile(directory, file, CldrUtility.UTF8);
StringIterables.java 27 return With.in(new FileLines(FileReaders.openFile(class1, file, CldrUtility.UTF8)));
53 return With.in(new FileLines(FileReaders.openFile(directory, file, CldrUtility.UTF8)));
  /external/cldr/tools/java/org/unicode/cldr/draft/
DraftUtils.java 4 import org.unicode.cldr.util.CldrUtility;
16 public static final String UCD_DIRECTORY = CldrUtility.getPath(CLDRPaths.EXTERNAL_DIRECTORY, "unicodetools/data/ucd/9.0.0-Update");
Compacter.java 11 import org.unicode.cldr.util.CldrUtility;
134 throw new IllegalArgumentException("Range too large: " + CldrUtility.toHex(first, true) + "-"
135 + CldrUtility.toHex(last, true));
  /external/cldr/tools/java/org/unicode/cldr/test/
CheckForInheritanceMarkers.java 6 import org.unicode.cldr.util.CldrUtility;
17 if (value.contains(CldrUtility.INHERITANCE_MARKER)) {
21 .setMessage("Inheritance marker " + CldrUtility.INHERITANCE_MARKER + " not allowed in a data value."));
QuickCheck.java 21 import org.unicode.cldr.util.CldrUtility;
73 verbose = CldrUtility.getProperty("verbose", "false", "true").matches("(?i)T|TRUE");
74 localeRegex = CldrUtility.getProperty("locale", ".*");
76 showInfo = CldrUtility.getProperty("showinfo", "false", "true").matches("(?i)T|TRUE");
83 mainDirectory = CldrUtility.getProperty("main", CLDRPaths.COMMON_DIRECTORY + "/main");
87 resolved = CldrUtility.getProperty("resolved", "false", "true").matches("(?i)T|TRUE");
89 boolean paths = CldrUtility.getProperty("paths", "true").matches("(?i)T|TRUE");
91 pretty = CldrUtility.getProperty("pretty", "true").matches("(?i)T|TRUE");
270 System.out.format("Distinguishing Elements: %s" + CldrUtility.LINE_SEPARATOR, distinguishing);
271 System.out.format("Nondistinguishing Elements: %s" + CldrUtility.LINE_SEPARATOR, nonDistinguishing)
    [all...]
TestMisc.java 26 import org.unicode.cldr.util.CldrUtility;
122 System.out.println(test + CldrUtility.LINE_SEPARATOR +
123 codes.toPattern(true) + CldrUtility.LINE_SEPARATOR +
124 bf.showSetNames(set.complement().complement()) + CldrUtility.LINE_SEPARATOR);
298 System.out.println("SimpleCaseFolded & !CaseFolded & Functional & !Archaic:" + CldrUtility.LINE_SEPARATOR
314 System.out.println("Common & Functional & !Archaic:" + CldrUtility.LINE_SEPARATOR
319 System.out.println("Inherited & Functional & !Archaic:" + CldrUtility.LINE_SEPARATOR
323 System.out.println("Nl:" + CldrUtility.LINE_SEPARATOR + bf.showSetNames(new UnicodeSet("[:Nl:]")));
324 System.out.println("Nl & Functional & !Archaic:" + CldrUtility.LINE_SEPARATOR + bf.showSetNames(nl));
369 new org.unicode.cldr.util.CldrUtility.Apply<String>()
    [all...]
  /external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
TestMetadata.java 7 import org.unicode.cldr.util.CldrUtility;
36 errln(title + " differ:" + CldrUtility.LINE_SEPARATOR + firstTitle
37 + ":" + CldrUtility.LINE_SEPARATOR + "\t" + cldrFileOrder
38 + CldrUtility.LINE_SEPARATOR + secondTitle + ":"
39 + CldrUtility.LINE_SEPARATOR + "\t" + dtdAttributeOrder
40 + CldrUtility.LINE_SEPARATOR
42 + CldrUtility.LINE_SEPARATOR + "\t"
43 + CldrUtility.join(dtdAttributeOrder, " ")
44 + CldrUtility.LINE_SEPARATOR + "Differences:");
58 errln("..." + CldrUtility.LINE_SEPARATOR + "\tSame:
    [all...]
SimpleHtmlParserTest.java 9 import org.unicode.cldr.util.CldrUtility;
18 BufferedReader reader = CldrUtility
TestMetazoneTransitions.java 13 import org.unicode.cldr.util.CldrUtility;
193 return CldrUtility.join(slice(chronologicalList, 0, limit),
198 + CldrUtility.join(
204 return CldrUtility.join(chronologicalList, separator);
318 + CldrUtility.join(partition.getAll(transitions), ", ")
322 + CldrUtility.join(metas, ", ") + "}");
329 + CldrUtility.join(partition.getAll(transitions), ", ")
333 + transitions.toString(CldrUtility.LINE_SEPARATOR + "\t\t",
340 + CldrUtility.join(noMeta, CldrUtility.LINE_SEPARATOR + "\t"))
    [all...]
  /external/cldr/tools/java/org/unicode/cldr/tool/
GenerateSupplementalZoneData.java 13 import org.unicode.cldr.util.CldrUtility;
48 String sep = CldrUtility.LINE_SEPARATOR + " ";
49 String broken = CldrUtility.breakLines(tzbuf, sep, PatternCache.get(
53 + CldrUtility.LINE_SEPARATOR + " </variable>");
GenerateLikelySubtagTests.java 13 import org.unicode.cldr.util.CldrUtility;
18 private static final String SEPARATOR = CldrUtility.LINE_SEPARATOR;
30 out.println("<?xml version='1.0' encoding='UTF-8' ?>" + CldrUtility.LINE_SEPARATOR +
31 "<!DOCTYPE cldrTest SYSTEM '../../common/dtd/cldrTest.dtd'>" + CldrUtility.LINE_SEPARATOR +
32 "<!-- For information, see readme.html -->" + CldrUtility.LINE_SEPARATOR +
33 "<cldrTest version='" + VERSION + "' base='aa'>" + CldrUtility.LINE_SEPARATOR +
69 out.println(CldrUtility.LINE_SEPARATOR + "// END");
71 out.println(" </likelySubtags>" + CldrUtility.LINE_SEPARATOR + "</cldrTest>");
91 + CldrUtility.LINE_SEPARATOR + " },");
ToolConstants.java 5 import org.unicode.cldr.util.CldrUtility;
33 public static final String CHART_VERSION = CldrUtility.getProperty("CHART_VERSION", DEFAULT_CHART_VERSION);
36 : ChartStatus.valueOf(CldrUtility.getProperty("CHART_STATUS", DEFAULT_CHART_STATUS.toString()));
PivotData.java 16 import org.unicode.cldr.util.CldrUtility;
17 import org.unicode.cldr.util.CldrUtility.SimpleLineComparator;
31 + CldrUtility.LINE_SEPARATOR +
32 "These are Lang+Script+Region, then Lang+Region, then Lang+Script" + CldrUtility.LINE_SEPARATOR +
34 fileMatcher = PatternCache.get(CldrUtility.getProperty("FILE", ".*")).matcher("");
35 int phase = Integer.parseInt(CldrUtility.getProperty("phase", null));
116 if (DEBUG) System.out.format("LocaleID: %s, %s" + CldrUtility.LINE_SEPARATOR, localeID, parentID);
144 + CldrUtility.LINE_SEPARATOR + fullPath + CldrUtility.LINE_SEPARATOR + oldFullXPath);
154 System.out.format("LocaleID: %s is EMPTY, no changes necessary" + CldrUtility.LINE_SEPARATOR, localeID)
    [all...]
ToolUtilities.java 10 import org.unicode.cldr.util.CldrUtility;
11 import org.unicode.cldr.util.CldrUtility.LineComparer;
45 generateBat(sourceDir, sourceFile, targetDir, targetFile, new CldrUtility.SimpleLineComparator(0));
64 } else if (!CldrUtility.areFileIdentical(fullSource, fullTarget, failureLines, lineComparer)) {
GenerateTransform.java 14 import org.unicode.cldr.util.CldrUtility;
103 result.append("::lowerCase ;" + CldrUtility.LINE_SEPARATOR);
134 + CldrUtility.LINE_SEPARATOR);
137 result.append(show(pair[0]) + " {} " + show(pair[1]) + " ? ? ;" + CldrUtility.LINE_SEPARATOR);
141 result.append("# Main rules" + CldrUtility.LINE_SEPARATOR);
146 result.append(pair.getFirst() + " ? " + pair.getSecond() + " ;" + CldrUtility.LINE_SEPARATOR);
151 result.append("# Removal of hyphenation point for disambiguation" + CldrUtility.LINE_SEPARATOR);
156 + CldrUtility.LINE_SEPARATOR);
161 result.append("# Retargetting items for completeness" + CldrUtility.LINE_SEPARATOR);
165 + CldrUtility.LINE_SEPARATOR)
    [all...]
ChartSubdivisions.java 13 import org.unicode.cldr.util.CldrUtility;
53 .addColumn("Code", "class='source'", CldrUtility.getDoubleLinkMsg(), "class='source'", true)
58 .addColumn("Code", "class='target'", CldrUtility.getDoubleLinkMsg(), "class='target'", true)
63 .addColumn("Code", "class='target'", CldrUtility.getDoubleLinkMsg(), "class='target'", true);
129 return s1.isEmpty() ? "" : TransliteratorUtilities.toHTML.transform(CldrUtility.ifNull(EN.get(s1), ""));
CountryCodeConverter.java 11 import org.unicode.cldr.util.CldrUtility;
12 import org.unicode.cldr.util.CldrUtility.LineHandler;
21 private static final boolean SHOW_SKIP = CldrUtility.getProperty("SHOW_SKIP", false);
88 CldrUtility.handleFile("external/alternate_country_names.txt", new MyHandler(goodAvailableCodes));
89 nameToCountryCode = CldrUtility.protectCollection(nameToCountryCode);
ExtractIsoCurrencyData.java 12 import org.unicode.cldr.util.CldrUtility;
32 final String inputFile = CldrUtility.getProperty("input");
35 in = CldrUtility.getUTF8Data("currency_codes_list-1.htm");
40 final String outputFile = CldrUtility.getProperty("output", CLDRPaths.UTIL_DATA_DIR
93 out.println(CldrUtility.join(parts[i], "\t").trim());
GenerateComparison.java 15 import org.unicode.cldr.util.CldrUtility;
68 String oldDirectory = CldrUtility.getProperty("oldDirectory", new File(CLDRPaths.BASE_DIRECTORY,
70 String newDirectory = CldrUtility.getProperty("newDirectory", new File(CLDRPaths.BASE_DIRECTORY,
72 String changesDirectory = CldrUtility.getProperty("changesDirectory", new File(CLDRPaths.CHART_DIRECTORY
76 String filter = CldrUtility.getProperty("localeFilter", ".*");
77 boolean SHOW_ALIASED = CldrUtility.getProperty("showAliased", "false").toLowerCase().startsWith("t");
359 + CldrUtility.LINE_SEPARATOR
364 + CldrUtility.LINE_SEPARATOR
367 + CldrUtility.LINE_SEPARATOR
370 + CldrUtility.LINE_SEPARATO
    [all...]
ChartDayPeriods.java 5 import org.unicode.cldr.util.CldrUtility;
48 .addColumn("Locale Group", "class='source'", CldrUtility.getDoubleLinkMsg(), "class='source'", true)
51 .addColumn("Code", "class='source'", CldrUtility.getDoubleLinkMsg(), "class='source'", true)
CLDRCompare.java 10 import org.unicode.cldr.util.CldrUtility;
18 String filter = CldrUtility.getProperty("filter", ".*");
20 File oldVersion = new File(CldrUtility.getProperty("old", new File(CLDRPaths.COMMON_DIRECTORY
25 File newVersion = new File(CldrUtility.getProperty("new", CLDRPaths.COMMON_DIRECTORY));
GenerateMaximalLocales.java 28 import org.unicode.cldr.util.CldrUtility;
76 private static final boolean SHOW_ADD = CldrUtility.getProperty("GenerateMaximalLocalesDebug", false);
77 private static final boolean SUPPRESS_CHANGES = CldrUtility.getProperty("GenerateMaximalLocalesSuppress", false);
84 private static OutputStyle OUTPUT_STYLE = OutputStyle.valueOf(CldrUtility.getProperty("OutputStyle", "XML", "XML")
88 private static final String SEPARATOR = OUTPUT_STYLE == OutputStyle.C || OUTPUT_STYLE == OutputStyle.C_ALT ? CldrUtility.LINE_SEPARATOR
162 private static final Map<String, String> LANGUAGE_OVERRIDES = CldrUtility.asMap(new String[][] {
373 + CldrUtility.LINE_SEPARATOR
376 CldrUtility.LINE_SEPARATOR
379 CldrUtility.LINE_SEPARATOR
382 CldrUtility.LINE_SEPARATO
    [all...]
FindAttributeValueDifferences.java 17 import org.unicode.cldr.util.CldrUtility;
70 M3<String, String, Boolean> newSubmap = CldrUtility.ifNull(newValues.get(element), emptyM3);
71 M3<String, String, Boolean> oldSubmap = CldrUtility.ifNull(oldValues.get(element), emptyM3);
77 Set<String> newAttValues = CldrUtility.ifNull(newSubmap.get(attribute), Collections.EMPTY_MAP).keySet();
79 Set<String> oldAttValues = CldrUtility.ifNull(oldSubmap.get(attribute), Collections.EMPTY_MAP).keySet();

Completed in 658 milliseconds

1 2 3 4 5 6 7