Home
last modified time | relevance | path

Searched refs:FileUtilities (Results 1 – 25 of 129) sorted by relevance

123456

/external/cldr/tools/java/org/unicode/cldr/tool/
DGenerateSubdivisions.java13 import org.unicode.cldr.draft.FileUtilities;
88 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/" + sourc… in main()
101 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main()
104 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/subdivisi… in main()
107 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/en.xml"))… in main()
110 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/categorie… in main()
113 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/en.txt"))… in main()
116 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/en-full.t… in main()
119 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "subdivision/missing-m… in main()
DFormattedFileWriter.java11 import org.unicode.cldr.draft.FileUtilities;
49 ….append("\t<div class='chit'><a name='" + FileUtilities.anchorize(title) + "' href='" + fileName +… in toString()
110 baseFileName = FileUtilities.anchorize(title); in FormattedFileWriter()
151 … PrintWriter pw2 = org.unicode.cldr.draft.FileUtilities.openUTF8Writer(dir, filename + ".html"); in close()
160FileUtilities.appendBufferedReader(ToolUtilities.getUTF8Data(templateFileName), pw2, replacements); in close()
DToolUtilities.java8 import org.unicode.cldr.draft.FileUtilities;
65 PrintWriter bat = FileUtilities.openUTF8Writer(batDir, batName); in generateBat()
80 … if (FileUtilities.SHOW_FILES) System.out.println("*Deleting old:\t" + f.getCanonicalPath()); in generateBat()
DGenerateChangeChart.java12 import org.unicode.cldr.draft.FileUtilities;
61 … try (PrintWriter out = org.unicode.cldr.draft.FileUtilities.openUTF8Writer(dir, "summary.txt");) { in main()
157 …topLinksBuilder.append("<a href='" + FileUtilities.anchorize(xString) + ".html'>" + xString + "</a… in buildLinks()
158 …topLinksBuilder.append(" (<a href='" + FileUtilities.anchorize(xString + " " + BY_PATH) + ".html'>… in buildLinks()
317 String anchor = FileUtilities.anchorize(title); in FormattedFileWriter()
344 PrintWriter pw2 = org.unicode.cldr.draft.FileUtilities.openUTF8Writer(dir, filename); in close()
348FileUtilities.appendBufferedReader(ToolUtilities.getUTF8Data(templateFileName), pw2, replacements); in close()
DRegexModify.java13 import org.unicode.cldr.draft.FileUtilities;
74 BufferedReader in = FileUtilities.openUTF8Reader(sourceDirectory.toString(), file); in main()
75 PrintWriter out = FileUtilities.openUTF8Writer(targetDirectory.toString(), file)) { in main()
77 for (String line : FileUtilities.in(in)) { in main()
DGetDescriptions.java14 import org.unicode.cldr.draft.FileUtilities;
38 … PrintWriter commas = FileUtilities.openUTF8Writer("c:\\data\\gen\\ltru\\", "ltru-commas.txt"); in main()
40 PrintWriter all = FileUtilities.openUTF8Writer("c:\\data\\gen\\ltru\\", "ltru-all.txt"); in main()
126 … PrintWriter reverse = FileUtilities.openUTF8Writer("c:\\data\\gen\\ltru\\", "ltru-reverse.txt"); in showReverse()
149 …PrintWriter inversions = FileUtilities.openUTF8Writer("c:\\data\\gen\\ltru\\", "ltru-inversions.tx… in showReverse()
DGenerateDtd.java7 import org.unicode.cldr.draft.FileUtilities;
32 …try (PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "dtd/", name + ".dtd… in main()
DExtractIsoCurrencyData.java10 import org.unicode.cldr.draft.FileUtilities;
37 in = FileUtilities.openUTF8Reader("", inputFile); in main()
42 PrintWriter out = FileUtilities.openUTF8Writer(null, outputFile); in main()
DDumpCoverage.java8 import org.unicode.cldr.draft.FileUtilities;
25 PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY, "coverageDump.txt"); in main()
DCompareEn.java10 import org.unicode.cldr.draft.FileUtilities;
22 …try (PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "comparison", "en.tx… in main()
DPrepareRootAnnotations.java6 import org.unicode.cldr.draft.FileUtilities;
46 …try (PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "annotations/", "root… in main()
DGenerateItemCounts.java22 import org.unicode.cldr.draft.FileUtilities;
122 …PrintWriter summary = FileUtilities.openUTF8Writer(OUT_DIRECTORY, prefix + fileKey + "_count.txt"); in main()
123 …PrintWriter changes = FileUtilities.openUTF8Writer(OUT_DIRECTORY, prefix + fileKey + "_changes.txt… in main()
124 …PrintWriter changesNew = FileUtilities.openUTF8Writer(OUT_DIRECTORY, prefix + fileKey + "_news.txt… in main()
125 …PrintWriter changesDeletes = FileUtilities.openUTF8Writer(OUT_DIRECTORY, prefix + fileKey + "_dele… in main()
126 …PrintWriter changesSummary = FileUtilities.openUTF8Writer(OUT_DIRECTORY, prefix + fileKey + "_chan… in main()
205 PrintWriter out = FileUtilities.openUTF8Writer(OUT_DIRECTORY, outputFile)) { in checkBadAttributes()
307 PrintWriter starred = FileUtilities.openUTF8Writer(OUT_DIRECTORY, "starred" + ".txt"); in showStarred()
480 BufferedReader in = FileUtilities.openUTF8Reader("", subdir.getCanonicalPath()); in doSummary()
545 …PrintWriter summary = FileUtilities.openUTF8Writer(OUT_DIRECTORY, (MyOptions.directory.option.does… in doSummary()
[all …]
DFilterCharacterFallbacks.java15 import org.unicode.cldr.draft.FileUtilities;
37 PrintWriter out = FileUtilities.openUTF8Writer(".", "report"); in main()
DMakeTransliterator.java16 import org.unicode.cldr.draft.FileUtilities;
73 PrintWriter skippedOut = FileUtilities.openUTF8Writer("", skippedLinesFile); in main()
121 BufferedReader in = FileUtilities.openUTF8Reader("", sourceFile); in main()
348 PrintWriter out = FileUtilities.openUTF8Writer("", targetFile); in main()
352 out = FileUtilities.openUTF8Writer("", targetCountFile); in main()
652 BufferedReader fli = FileUtilities.openUTF8Reader("", fileName); in createFromFile()
685 BufferedReader br = FileUtilities.openUTF8Reader(cldrDataDir, "internal_overrides.txt"); in getOverrides()
DCompareHanTransliterators.java6 import org.unicode.cldr.draft.FileUtilities;
33 …PrintWriter out = FileUtilities.openUTF8Writer(org.unicode.cldr.util.CLDRPaths.GEN_DIRECTORY, "han… in main()
DGenerateScriptMetadata.java8 import org.unicode.cldr.draft.FileUtilities;
23 …PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.COMMON_DIRECTORY + "/properties", "script… in main()
DGenerateIndexCharacters.java8 import org.unicode.cldr.draft.FileUtilities;
32 …PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "indexchars/", locale + "… in main()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestBagFormatter.java20 import org.unicode.cldr.draft.FileUtilities;
96 FileUtilities.CONSOLE.println("[:gc=nd:]"); in main()
97 bf.showSetNames(FileUtilities.CONSOLE, us); in main()
100 FileUtilities.CONSOLE.println("[:numeric_value=2:]"); in main()
101 bf.showSetNames(FileUtilities.CONSOLE, us); in main()
104 FileUtilities.CONSOLE.println("[:numeric_type=numeric:]"); in main()
105 bf.showSetNames(FileUtilities.CONSOLE, us); in main()
109 FileUtilities.CONSOLE.println("gc=mn"); in main()
110 bf.showSetNames(FileUtilities.CONSOLE, us); in main()
165 PrintWriter pw = FileUtilities.openUTF8Writer("", "countries.txt"); in testLocales()
DTestAliases.java12 import org.unicode.cldr.draft.FileUtilities;
132 …try (PrintWriter out = FileUtilities.openUTF8Writer(CLDRPaths.AUX_DIRECTORY + "temp", "inheritance… in checkEmitChanged()
192 for (String line : FileUtilities.in(FileUtilities.openFile(file))) { in checkForAliases()
DSimpleHtmlParserTest.java7 import org.unicode.cldr.draft.FileUtilities;
15 PrintWriter writer = FileUtilities.openUTF8Writer( in main()
/external/cldr/tools/java/org/unicode/cldr/util/
DLog.java23 import org.unicode.cldr.draft.FileUtilities;
62 log = FileUtilities.openUTF8Writer(dir, file); in setLog()
67 log = FileUtilities.openUTF8Writer(null, file); in setLog()
72 log = FileUtilities.openUTF8Writer(null, file); in setLogNoBOM()
76 log = FileUtilities.openUTF8Writer(dir, file); in setLogNoBOM()
DSpreadSheet.java8 import org.unicode.cldr.draft.FileUtilities;
14 return convert(FileUtilities.openUTF8Reader("", filename)); in convert()
DTransliteratorUtilities.java12 import org.unicode.cldr.draft.FileUtilities;
63 BufferedReader br = FileUtilities.openUTF8Reader(dir, filename); in getFileContents()
/external/cldr/tools/java/org/unicode/cldr/icu/
DExtractICUData.java27 import org.unicode.cldr.draft.FileUtilities;
124 … input = FileUtilities.openUTF8Reader(((File) file).getParent() + File.separator, fileName); in generateTransliterators()
152 …PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "/translit/gen/", outName … in generateTransliterators()
157 …PrintWriter pw = FileUtilities.openUTF8Writer(CLDRPaths.GEN_DIRECTORY + "/translit/gen/", "All" + … in generateTransliterators()
177 BufferedReader input = FileUtilities.openUTF8Reader("", fileName); in convertFile()
201 PrintWriter pw = FileUtilities.openUTF8Writer(targetDirectory, outName + ".xml"); in convertFile()
305 PrintWriter pw = FileUtilities.openUTF8Writer( in getTranslitIndex()
/external/cldr/tools/java/org/unicode/cldr/posix/
DGeneratePOSIX.java15 import org.unicode.cldr.draft.FileUtilities;
80 …PrintWriter out = FileUtilities.openUTF8Writer(options[DESTDIR].value + File.separator, options[MA… in main()

123456