HomeSort by relevance Sort by last modified time
    Searched refs:CharsetDetector (Results 1 - 23 of 23) sorted by null

  /external/icu/android_icu4j/src/main/java/android/icu/text/
CharsetRecognizer.java 14 * Part of the implementation of ICU's CharsetDetector.
18 * CharsetDetector and the stuff specific to an individual charset happens
21 * Instances of CharsetDetector DO NOT have or maintain
23 * The WILL be shared by multiple instances of CharsetDetector.
44 * which is obtained via the CharsetDetector object.
46 * @param det The CharsetDetector, which contains the input text
51 abstract CharsetMatch match(CharsetDetector det);
CharsetRecog_2022.java 123 CharsetMatch match(CharsetDetector det) {
140 CharsetMatch match(CharsetDetector det) {
167 CharsetMatch match(CharsetDetector det) {
CharsetRecog_Unicode.java 27 * @see android.icu.text.CharsetRecognizer#match(android.icu.text.CharsetDetector)
30 abstract CharsetMatch match(CharsetDetector det);
64 CharsetMatch match(CharsetDetector det)
100 CharsetMatch match(CharsetDetector det)
135 CharsetMatch match(CharsetDetector det)
CharsetRecog_mbcs.java 23 * CharsetDetector class and kept in the global list of available
39 * which is obtained via the CharsetDetector object.
41 * @param det The CharsetDetector, which contains the input text
49 int match(CharsetDetector det, int [] commonChars) {
157 int nextByte(CharsetDetector det) {
179 abstract boolean nextChar(iteratedChar it, CharsetDetector det);
202 boolean nextChar(iteratedChar it, CharsetDetector det) {
227 CharsetMatch match(CharsetDetector det) {
268 boolean nextChar(iteratedChar it, CharsetDetector det) {
296 CharsetMatch match(CharsetDetector det)
    [all...]
CharsetDetector.java 22 * <code>CharsetDetector</code> provides a facility for detecting the
41 public class CharsetDetector {
56 public CharsetDetector() {
73 public CharsetDetector setDeclaredEncoding(String encoding) {
83 * @return This CharsetDetector
85 public CharsetDetector setText(byte [] in) {
105 * @return This CharsetDetector
108 public CharsetDetector setText(InputStream in) throws IOException {
273 * Get the names of all charsets supported by <code>CharsetDetector</code> class.
283 * <code>CharsetDetector</code> class
    [all...]
CharsetMatch.java 20 * This class represents a charset that has been identified by a CharsetDetector
159 * allows CharsetDetector.detectAll() to order its results.
182 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) {
202 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) {
CharsetRecog_UTF8.java 23 * @see android.icu.text.CharsetRecognizer#match(android.icu.text.CharsetDetector)
26 CharsetMatch match(CharsetDetector det) {
CharsetRecog_sbcs.java 110 private int nextByte(CharsetDetector det)
119 protected void parseCharacters(CharsetDetector det)
139 public int parse(CharsetDetector det)
143 public int parse(CharsetDetector det, byte spaceCh)
212 * because CharsetDetector is dealing with bytes not Unicode code points. We could
217 private int nextByte(CharsetDetector det)
236 protected void parseCharacters(CharsetDetector det)
270 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
275 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
281 int matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
CharsetRecognizer.java 13 * Part of the implementation of ICU's CharsetDetector.
17 * CharsetDetector and the stuff specific to an individual charset happens
20 * Instances of CharsetDetector DO NOT have or maintain
22 * The WILL be shared by multiple instances of CharsetDetector.
43 * which is obtained via the CharsetDetector object.
45 * @param det The CharsetDetector, which contains the input text
50 abstract CharsetMatch match(CharsetDetector det);
CharsetRecog_Unicode.java 26 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
29 abstract CharsetMatch match(CharsetDetector det);
63 CharsetMatch match(CharsetDetector det)
99 CharsetMatch match(CharsetDetector det)
134 CharsetMatch match(CharsetDetector det)
CharsetRecog_2022.java 122 CharsetMatch match(CharsetDetector det) {
139 CharsetMatch match(CharsetDetector det) {
166 CharsetMatch match(CharsetDetector det) {
CharsetRecog_mbcs.java 22 * CharsetDetector class and kept in the global list of available
38 * which is obtained via the CharsetDetector object.
40 * @param det The CharsetDetector, which contains the input text
48 int match(CharsetDetector det, int [] commonChars) {
156 int nextByte(CharsetDetector det) {
178 abstract boolean nextChar(iteratedChar it, CharsetDetector det);
201 boolean nextChar(iteratedChar it, CharsetDetector det) {
226 CharsetMatch match(CharsetDetector det) {
267 boolean nextChar(iteratedChar it, CharsetDetector det) {
295 CharsetMatch match(CharsetDetector det)
    [all...]
CharsetDetector.java 21 * <code>CharsetDetector</code> provides a facility for detecting the
40 public class CharsetDetector {
57 public CharsetDetector() {
76 public CharsetDetector setDeclaredEncoding(String encoding) {
86 * @return This CharsetDetector
90 public CharsetDetector setText(byte [] in) {
110 * @return This CharsetDetector
115 public CharsetDetector setText(InputStream in) throws IOException {
288 * Get the names of all charsets supported by <code>CharsetDetector</code> class.
298 * <code>CharsetDetector</code> class
    [all...]
CharsetMatch.java 19 * This class represents a charset that has been identified by a CharsetDetector
170 * allows CharsetDetector.detectAll() to order its results.
194 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) {
214 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) {
CharsetRecog_UTF8.java 22 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
25 CharsetMatch match(CharsetDetector det) {
CharsetRecog_sbcs.java 109 private int nextByte(CharsetDetector det)
118 protected void parseCharacters(CharsetDetector det)
138 public int parse(CharsetDetector det)
142 public int parse(CharsetDetector det, byte spaceCh)
211 * because CharsetDetector is dealing with bytes not Unicode code points. We could
216 private int nextByte(CharsetDetector det)
235 protected void parseCharacters(CharsetDetector det)
269 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
274 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
280 int matchIBM420(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
    [all...]
  /external/icu/icu4c/source/i18n/
ucsdet.cpp 38 CharsetDetector* csd = new CharsetDetector(*status);
51 CharsetDetector *csd = (CharsetDetector *) ucsd;
62 ((CharsetDetector *) ucsd)->setText(textIn, len);
102 return (const UCharsetMatch *) ((CharsetDetector *) ucsd)->detect(*status);
112 ((CharsetDetector *) ucsd)->setDeclaredEncoding(encoding,length);
123 CharsetDetector *csd = (CharsetDetector *) ucsd;
154 return ((CharsetDetector *) ucsd)->getStripTagsFlag()
    [all...]
csdetect.h 25 class CharsetDetector : public UMemory
40 CharsetDetector(UErrorCode &status);
42 ~CharsetDetector();
csdetect.cpp 145 void CharsetDetector::setRecognizers(UErrorCode &status)
150 CharsetDetector::CharsetDetector(UErrorCode &status)
182 CharsetDetector::~CharsetDetector()
197 void CharsetDetector::setText(const char *in, int32_t len)
203 UBool CharsetDetector::setStripTagsFlag(UBool flag)
211 UBool CharsetDetector::getStripTagsFlag() const
216 void CharsetDetector::setDeclaredEncoding(const char *encoding, int32_t len) const
221 int32_t CharsetDetector::getDetectableCount(
    [all...]
  /external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/
TestCharsetDetector.java 37 import android.icu.text.CharsetDetector;
90 CharsetDetector det = new CharsetDetector();
94 String [] charsetNames = CharsetDetector.getAllDetectableCharsets();
138 CharsetDetector det = new CharsetDetector();
170 CharsetDetector det = new CharsetDetector();
195 CharsetDetector det = new CharsetDetector();
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
TestCharsetDetector.java 36 import com.ibm.icu.text.CharsetDetector;
87 CharsetDetector det = new CharsetDetector();
91 String [] charsetNames = CharsetDetector.getAllDetectableCharsets();
135 CharsetDetector det = new CharsetDetector();
167 CharsetDetector det = new CharsetDetector();
192 CharsetDetector det = new CharsetDetector();
    [all...]
  /external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
DetectingViewer.java 42 import com.ibm.icu.text.CharsetDetector;
46 * This simple application demonstrates how to use the CharsetDetector API. It
270 CharsetDetector det = new CharsetDetector();
279 CharsetDetector det = new CharsetDetector();
  /external/cldr/tools/java/libs/
icu4j.jar 

Completed in 564 milliseconds