public class TikaCharsetFinder extends AbstractCharactersetFinder
Constructor and Description |
---|
TikaCharsetFinder() |
Modifier and Type | Method and Description |
---|---|
protected Charset |
detectCharsetImpl(byte[] buffer) |
int |
getThreshold()
Return the matching threshold before we decide that
what we detected is a good match.
|
void |
setThreshold(int threshold)
At what point do we decide our match is good enough?
In the range 0-100.
|
detectCharset, detectCharset, getBufferSize, setBufferSize
protected Charset detectCharsetImpl(byte[] buffer) throws Exception
detectCharsetImpl
in class AbstractCharactersetFinder
Exception
public int getThreshold()
public void setThreshold(int threshold)
Copyright © 2005–2020 Alfresco Software. All rights reserved.