Lines Matching refs:filename
175 String filename = args.get(0);
178 if (XmlDictInputOutput.isXmlUnigramDictionary(filename)) {
179 inputUnigramXml = filename;
180 } else if (CombinedInputOutput.isCombinedDictionary(filename)) {
181 inputCombined = filename;
182 } else if (BinaryDictDecoderUtils.isBinaryDictionary(filename)) {
183 inputBinary = filename;
186 "Unknown format for file " + filename);
189 inputShortcutXml = filename;
191 inputBigramXml = filename;
193 outputBinary = filename;
195 outputXml = filename;
197 outputCombined = filename;
293 private static BufferedInputStream getBufferedFileInputStream(final String filename)
295 if (filename == null) {
298 return new BufferedInputStream(new FileInputStream(filename));
349 * Write the dictionary in binary format to the specified filename.
372 * Write the dictionary in XML format to the specified filename.
387 * Write the dictionary in the combined format to the specified filename.