public class UniversalEncodingDetector extends Object implements org.apache.tika.detect.EncodingDetector
| Constructor and Description |
|---|
UniversalEncodingDetector() |
| Modifier and Type | Method and Description |
|---|---|
Charset |
detect(InputStream input,
org.apache.tika.metadata.Metadata metadata) |
int |
getMarkLimit() |
void |
setMarkLimit(int markLimit)
How far into the stream to read for charset detection.
|
public Charset detect(InputStream input, org.apache.tika.metadata.Metadata metadata) throws IOException
detect in interface org.apache.tika.detect.EncodingDetectorIOException@Field public void setMarkLimit(int markLimit)
markLimit - public int getMarkLimit()
Copyright © 2007–2022 The Apache Software Foundation. All rights reserved.