Constructor and Description |
---|
AbstractDetector() |
Modifier and Type | Method and Description |
---|---|
Detection |
detect(ByteBuffer input,
Hint hint)
Detects language and encoding of the supplied ByteBuffer, possibly using a language/encoding hint.
|
Detection |
detect(String input,
Hint hint)
Detects language of the supplied String, possibly using a language hint.
|
public final Detection detect(String input, Hint hint)
Detector
public final Detection detect(ByteBuffer input, Hint hint)
Detector
detect
in interface Detector
input
- the buffer that is to be inspected, from its current position to its limithint
- a hint to the detector, or null for no hintCopyright © 2018. All rights reserved.