Lines Matching refs:detector
176 CharsetDetector detector;
179 detector = new CharsetDetector();
180 detector.setText(byteData);
181 // use detector with byte data...
182 detector.setText(streamData);
183 // use detector with stream data...
191 CharsetDetector detector;
194 detector = new CharsetDetector();
195 detector.setText(byteData);
196 match = detector.detect();
218 CharsetDetector detector;
221 detector = new CharsetDetector();
222 detector.setText(byteData);
223 matches = detector.detectAll();
240 CharsetDetector detector;
243 detector = new CharsetDetector();
244 detector.setText(byteDataWithTags);
245 detector.enableInputFilter(true);
246 match = detector.detect();
272 CharsetDetector detector;
273 detector = new CharsetDetector();
274 // do a bunch of stuff with detector
276 if (detector.inputFilterEnabled()) {
290 CharsetDetector detector;
295 detector = new CharsetDetector();
296 unicodeData = detector.getString(byteData, null);
297 unicodeReader = detector.getReader(streamData, null);
307 CharsetDetector detector;
313 detector = new CharsetDetector();
314 detector.setText(byteData);
315 match = detector.detect();
317 detector.setText(streamData);
318 match = detector.detect();