Searched refs:CharsetDetector (Results 1 - 23 of 23) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCharsetRecognizer.java12 * Part of the implementation of ICU's CharsetDetector.
16 * CharsetDetector and the stuff specific to an individual charset happens
19 * Instances of CharsetDetector DO NOT have or maintain
21 * The WILL be shared by multiple instances of CharsetDetector.
42 * which is obtained via the CharsetDetector object.
44 * @param det The CharsetDetector, which contains the input text
49 abstract CharsetMatch match(CharsetDetector det);
H A DCharsetRecog_2022.java119 CharsetMatch match(CharsetDetector det) {
134 CharsetMatch match(CharsetDetector det) {
159 CharsetMatch match(CharsetDetector det) {
H A DCharsetRecog_mbcs.java21 * CharsetDetector class and kept in the global list of available
36 * which is obtained via the CharsetDetector object.
38 * @param det The CharsetDetector, which contains the input text
46 int match(CharsetDetector det, int [] commonChars) {
156 int nextByte(CharsetDetector det) {
178 abstract boolean nextChar(iteratedChar it, CharsetDetector det);
200 boolean nextChar(iteratedChar it, CharsetDetector det) {
225 CharsetMatch match(CharsetDetector det) {
263 boolean nextChar(iteratedChar it, CharsetDetector det) {
291 CharsetMatch match(CharsetDetector de
[all...]
H A DCharsetRecog_Unicode.java24 * @see android.icu.text.CharsetRecognizer#match(android.icu.text.CharsetDetector)
26 abstract CharsetMatch match(CharsetDetector det);
58 CharsetMatch match(CharsetDetector det)
92 CharsetMatch match(CharsetDetector det)
125 CharsetMatch match(CharsetDetector det)
H A DCharsetDetector.java20 * <code>CharsetDetector</code> provides a facility for detecting the
39 public class CharsetDetector { class
54 public CharsetDetector() { method in class:CharsetDetector
71 public CharsetDetector setDeclaredEncoding(String encoding) {
81 * @return This CharsetDetector
83 public CharsetDetector setText(byte [] in) {
103 * @return This CharsetDetector
106 public CharsetDetector setText(InputStream in) throws IOException {
271 * Get the names of all charsets supported by <code>CharsetDetector</code> class.
281 * <code>CharsetDetector</cod
[all...]
H A DCharsetMatch.java18 * This class represents a charset that has been identified by a CharsetDetector
157 * allows CharsetDetector.detectAll() to order its results.
179 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) {
199 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) {
H A DCharsetRecog_UTF8.java20 * @see android.icu.text.CharsetRecognizer#match(android.icu.text.CharsetDetector)
22 CharsetMatch match(CharsetDetector det) {
H A DCharsetRecog_sbcs.java107 private int nextByte(CharsetDetector det)
116 protected void parseCharacters(CharsetDetector det)
136 public int parse(CharsetDetector det)
140 public int parse(CharsetDetector det, byte spaceCh)
209 * because CharsetDetector is dealing with bytes not Unicode code points. We could
214 private int nextByte(CharsetDetector det)
232 protected void parseCharacters(CharsetDetector det)
266 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
271 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
277 int matchIBM420(CharsetDetector de
[all...]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCharsetRecognizer.java11 * Part of the implementation of ICU's CharsetDetector.
15 * CharsetDetector and the stuff specific to an individual charset happens
18 * Instances of CharsetDetector DO NOT have or maintain
20 * The WILL be shared by multiple instances of CharsetDetector.
41 * which is obtained via the CharsetDetector object.
43 * @param det The CharsetDetector, which contains the input text
48 abstract CharsetMatch match(CharsetDetector det);
H A DCharsetRecog_2022.java118 CharsetMatch match(CharsetDetector det) {
133 CharsetMatch match(CharsetDetector det) {
158 CharsetMatch match(CharsetDetector det) {
H A DCharsetRecog_mbcs.java20 * CharsetDetector class and kept in the global list of available
35 * which is obtained via the CharsetDetector object.
37 * @param det The CharsetDetector, which contains the input text
45 int match(CharsetDetector det, int [] commonChars) {
155 int nextByte(CharsetDetector det) {
177 abstract boolean nextChar(iteratedChar it, CharsetDetector det);
199 boolean nextChar(iteratedChar it, CharsetDetector det) {
224 CharsetMatch match(CharsetDetector det) {
262 boolean nextChar(iteratedChar it, CharsetDetector det) {
290 CharsetMatch match(CharsetDetector de
[all...]
H A DCharsetRecog_Unicode.java23 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
25 abstract CharsetMatch match(CharsetDetector det);
57 CharsetMatch match(CharsetDetector det)
91 CharsetMatch match(CharsetDetector det)
124 CharsetMatch match(CharsetDetector det)
H A DCharsetDetector.java19 * <code>CharsetDetector</code> provides a facility for detecting the
38 public class CharsetDetector { class
55 public CharsetDetector() { method in class:CharsetDetector
74 public CharsetDetector setDeclaredEncoding(String encoding) {
84 * @return This CharsetDetector
88 public CharsetDetector setText(byte [] in) {
108 * @return This CharsetDetector
113 public CharsetDetector setText(InputStream in) throws IOException {
286 * Get the names of all charsets supported by <code>CharsetDetector</code> class.
296 * <code>CharsetDetector</cod
[all...]
H A DCharsetMatch.java17 * This class represents a charset that has been identified by a CharsetDetector
168 * allows CharsetDetector.detectAll() to order its results.
191 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf) {
211 CharsetMatch(CharsetDetector det, CharsetRecognizer rec, int conf, String csName, String lang) {
H A DCharsetRecog_UTF8.java19 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector)
21 CharsetMatch match(CharsetDetector det) {
H A DCharsetRecog_sbcs.java106 private int nextByte(CharsetDetector det)
115 protected void parseCharacters(CharsetDetector det)
135 public int parse(CharsetDetector det)
139 public int parse(CharsetDetector det, byte spaceCh)
208 * because CharsetDetector is dealing with bytes not Unicode code points. We could
213 private int nextByte(CharsetDetector det)
231 protected void parseCharacters(CharsetDetector det)
265 int match(CharsetDetector det, int[] ngrams, byte[] byteMap)
270 int match(CharsetDetector det, int[] ngrams, byte[] byteMap, byte spaceChar)
276 int matchIBM420(CharsetDetector de
[all...]
/external/icu/icu4c/source/i18n/
H A Ducsdet.cpp38 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 *) ucs
[all...]
H A Dcsdetect.h21 class CharsetDetector : public UMemory class in inherits:UMemory
36 CharsetDetector(UErrorCode &status);
38 ~CharsetDetector();
H A Dcsdetect.cpp145 void CharsetDetector::setRecognizers(UErrorCode &status)
150 CharsetDetector::CharsetDetector(UErrorCode &status) function in class:CharsetDetector
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
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/charsetdet/
H A DTestCharsetDetector.java32 import android.icu.text.CharsetDetector;
100 CharsetDetector det = new CharsetDetector();
104 String [] charsetNames = CharsetDetector.getAllDetectableCharsets();
147 CharsetDetector det = new CharsetDetector();
178 CharsetDetector det = new CharsetDetector();
202 CharsetDetector det = new CharsetDetector();
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/charsetdet/
H A DTestCharsetDetector.java31 import com.ibm.icu.text.CharsetDetector;
96 CharsetDetector det = new CharsetDetector();
100 String [] charsetNames = CharsetDetector.getAllDetectableCharsets();
143 CharsetDetector det = new CharsetDetector();
174 CharsetDetector det = new CharsetDetector();
198 CharsetDetector det = new CharsetDetector();
[all...]
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/charsetdet/
H A DDetectingViewer.java40 import com.ibm.icu.text.CharsetDetector;
44 * This simple application demonstrates how to use the CharsetDetector API. It
268 CharsetDetector det = new CharsetDetector();
277 CharsetDetector det = new CharsetDetector();
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF.RSA META ...

Completed in 214 milliseconds