Home
last modified time | relevance | path

Searched refs:encoding (Results 1 – 21 of 21) sorted by relevance

/packages/apps/Email/src/org/apache/commons/io/output/
DFileWriterWithEncoding.java65 public FileWriterWithEncoding(String filename, String encoding) throws IOException { in FileWriterWithEncoding() argument
66 this(new File(filename), encoding, false); in FileWriterWithEncoding()
78 …public FileWriterWithEncoding(String filename, String encoding, boolean append) throws IOException… in FileWriterWithEncoding() argument
79 this(new File(filename), encoding, append); in FileWriterWithEncoding()
90 public FileWriterWithEncoding(String filename, Charset encoding) throws IOException { in FileWriterWithEncoding() argument
91 this(new File(filename), encoding, false); in FileWriterWithEncoding()
103 …public FileWriterWithEncoding(String filename, Charset encoding, boolean append) throws IOExceptio… in FileWriterWithEncoding() argument
104 this(new File(filename), encoding, append); in FileWriterWithEncoding()
115 public FileWriterWithEncoding(String filename, CharsetEncoder encoding) throws IOException { in FileWriterWithEncoding() argument
116 this(new File(filename), encoding, false); in FileWriterWithEncoding()
[all …]
DLockableFileWriter.java144 public LockableFileWriter(File file, String encoding) throws IOException { in LockableFileWriter() argument
145 this(file, encoding, false, null); in LockableFileWriter()
158 public LockableFileWriter(File file, String encoding, boolean append, in LockableFileWriter() argument
183 out = initWriter(file, encoding, append); in LockableFileWriter()
230 private Writer initWriter(File file, String encoding, boolean append) throws IOException { in initWriter() argument
235 if (encoding == null) { in initWriter()
239 writer = new OutputStreamWriter(stream, encoding); in initWriter()
/packages/apps/Email/src/org/apache/commons/io/
DIOUtils.java257 public static byte[] toByteArray(Reader input, String encoding) in toByteArray() argument
260 copy(input, output, encoding); in toByteArray()
318 public static char[] toCharArray(InputStream is, String encoding) in toCharArray() argument
321 copy(is, output, encoding); in toCharArray()
379 public static String toString(InputStream input, String encoding) in toString() argument
382 copy(input, sw, encoding); in toString()
431 public static String toString(byte[] input, String encoding) in toString() argument
433 if (encoding == null) { in toString()
436 return new String(input, encoding); in toString()
477 public static List<String> readLines(InputStream input, String encoding) throws IOException { in readLines() argument
[all …]
DCopyUtils.java173 String encoding) in copy() argument
176 copy(in, output, encoding); in copy()
264 String encoding) in copy() argument
266 InputStreamReader in = new InputStreamReader(input, encoding); in copy()
DFileUtils.java1099 public static String readFileToString(File file, String encoding) throws IOException { in readFileToString() argument
1103 return IOUtils.toString(in, encoding); in readFileToString()
1153 public static List<String> readLines(File file, String encoding) throws IOException { in readLines() argument
1157 return IOUtils.readLines(in, encoding); in readLines()
1207 public static LineIterator lineIterator(File file, String encoding) throws IOException { in lineIterator() argument
1211 return IOUtils.lineIterator(in, encoding); in lineIterator()
1247 … public static void writeStringToFile(File file, String data, String encoding) throws IOException { in writeStringToFile() argument
1251 IOUtils.write(data, out, encoding); in writeStringToFile()
1304 …public static void writeLines(File file, String encoding, Collection<Object> lines) throws IOExcep… in writeLines() argument
1305 writeLines(file, encoding, lines, null); in writeLines()
[all …]
/packages/apps/Email/src/org/apache/james/mime4j/field/
DContentTransferEncodingField.java52 private String encoding; field in ContentTransferEncodingField
54 protected ContentTransferEncodingField(String name, String body, String raw, String encoding) { in ContentTransferEncodingField() argument
56 this.encoding = encoding; in ContentTransferEncodingField()
65 return encoding; in getEncoding()
84 final String encoding = body.trim().toLowerCase(); in parse() local
85 return new ContentTransferEncodingField(name, body, raw, encoding); in parse()
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/
DSimpleCharStream.java309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, in SimpleCharStream() argument
312 …this(encoding == null ? new java.io.InputStreamReader(dstream) : new java.io.InputStreamReader(dst… in SimpleCharStream()
321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, in SimpleCharStream() argument
324 this(dstream, encoding, startline, startcolumn, 4096); in SimpleCharStream()
333 …public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEn… in SimpleCharStream() argument
335 this(dstream, encoding, 1, 1, 4096); in SimpleCharStream()
343 public void ReInit(java.io.InputStream dstream, String encoding, int startline, in ReInit() argument
346 …ReInit(encoding == null ? new java.io.InputStreamReader(dstream) : new java.io.InputStreamReader(d… in ReInit()
355 …public void ReInit(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodin… in ReInit() argument
357 ReInit(dstream, encoding, 1, 1, 4096); in ReInit()
[all …]
DContentTypeParser.java132 public ContentTypeParser(java.io.InputStream stream, String encoding) { in ContentTypeParser() argument
133 …try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedE… in ContentTypeParser()
144 public void ReInit(java.io.InputStream stream, String encoding) { in ReInit() argument
145 …try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException… in ReInit()
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/
DSimpleCharStream.java309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, in SimpleCharStream() argument
312 …this(encoding == null ? new java.io.InputStreamReader(dstream) : new java.io.InputStreamReader(dst… in SimpleCharStream()
321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, in SimpleCharStream() argument
324 this(dstream, encoding, startline, startcolumn, 4096); in SimpleCharStream()
333 …public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEn… in SimpleCharStream() argument
335 this(dstream, encoding, 1, 1, 4096); in SimpleCharStream()
343 public void ReInit(java.io.InputStream dstream, String encoding, int startline, in ReInit() argument
346 …ReInit(encoding == null ? new java.io.InputStreamReader(dstream) : new java.io.InputStreamReader(d… in ReInit()
355 …public void ReInit(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodin… in ReInit() argument
357 ReInit(dstream, encoding, 1, 1, 4096); in ReInit()
[all …]
DDateTimeParser.java431 public DateTimeParser(java.io.InputStream stream, String encoding) { in DateTimeParser() argument
432 …try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedE… in DateTimeParser()
443 public void ReInit(java.io.InputStream stream, String encoding) { in ReInit() argument
444 …try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException… in ReInit()
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/
DSimpleCharStream.java309 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, in SimpleCharStream() argument
312 …this(encoding == null ? new java.io.InputStreamReader(dstream) : new java.io.InputStreamReader(dst… in SimpleCharStream()
321 public SimpleCharStream(java.io.InputStream dstream, String encoding, int startline, in SimpleCharStream() argument
324 this(dstream, encoding, startline, startcolumn, 4096); in SimpleCharStream()
333 …public SimpleCharStream(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEn… in SimpleCharStream() argument
335 this(dstream, encoding, 1, 1, 4096); in SimpleCharStream()
343 public void ReInit(java.io.InputStream dstream, String encoding, int startline, in ReInit() argument
346 …ReInit(encoding == null ? new java.io.InputStreamReader(dstream) : new java.io.InputStreamReader(d… in ReInit()
355 …public void ReInit(java.io.InputStream dstream, String encoding) throws java.io.UnsupportedEncodin… in ReInit() argument
357 ReInit(dstream, encoding, 1, 1, 4096); in ReInit()
[all …]
DAddressListParser.java727 public AddressListParser(java.io.InputStream stream, String encoding) { in AddressListParser() argument
728 …try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedE… in AddressListParser()
740 public void ReInit(java.io.InputStream stream, String encoding) { in ReInit() argument
741 …try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException… in ReInit()
/packages/apps/Email/src/org/apache/james/mime4j/decoder/
DDecoderUtil.java223 String encoding = body.substring(qm1 + 1, qm2); in decodeEncodedWord() local
253 if (encoding.equalsIgnoreCase("Q")) { in decodeEncodedWord()
255 } else if (encoding.equalsIgnoreCase("B")) { in decodeEncodedWord()
/packages/apps/Exchange/exchange2/src/com/android/exchange/
DEasResponse.java113 String encoding = ceHeader.getValue(); in getInputStream() local
115 if (encoding.toLowerCase().equals("gzip")) { in getInputStream()
/packages/apps/Email/src/org/apache/james/mime4j/codec/
DEncoderUtil.java321 int usedCharacters, Charset charset, Encoding encoding) { in encodeEncodedWord() argument
338 if (encoding == null) in encodeEncodedWord()
339 encoding = determineEncoding(bytes, usage); in encodeEncodedWord()
341 if (encoding == Encoding.B) { in encodeEncodedWord()
/packages/apps/Email/src/com/android/email/mail/store/
DImapFolder.java785 final ImapString encoding = bs.getStringOrEmpty(5); in parseBodyStructure() local
880 if (!encoding.isEmpty()) { in parseBodyStructure()
882 encoding.getString()); in parseBodyStructure()
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java110 public final static String readInputStream(InputStream in, String encoding) throws IOException { in readInputStream() argument
111 InputStreamReader reader = new InputStreamReader(in, encoding); in readInputStream()
/packages/apps/LegacyCamera/jni/feature_stab/doc/
Ddbreg_API_doxyfile17 # This tag specifies the encoding used for all characters in the config file
18 # that follow. The default is UTF-8 which is also the encoding used for all
589 # This tag can be used to specify the character encoding of the source files
590 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
591 # also the default input encoding. Doxygen uses libiconv (or the iconv built
/packages/apps/Camera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile17 # This tag specifies the encoding used for all characters in the config file
18 # that follow. The default is UTF-8 which is also the encoding used for all
589 # This tag can be used to specify the character encoding of the source files
590 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
591 # also the default input encoding. Doxygen uses libiconv (or the iconv built
/packages/apps/LegacyCamera/jni/feature_mos/doc/
Dfeature_mos_API_doxyfile17 # This tag specifies the encoding used for all characters in the config file
18 # that follow. The default is UTF-8 which is also the encoding used for all
589 # This tag can be used to specify the character encoding of the source files
590 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
591 # also the default input encoding. Doxygen uses libiconv (or the iconv built
/packages/apps/Camera/jni/feature_stab/doc/
Ddbreg_API_doxyfile17 # This tag specifies the encoding used for all characters in the config file
18 # that follow. The default is UTF-8 which is also the encoding used for all
589 # This tag can be used to specify the character encoding of the source files
590 # that doxygen parses. Internally doxygen uses the UTF-8 encoding, which is
591 # also the default input encoding. Doxygen uses libiconv (or the iconv built