public abstract static class LoadText.EncodingDetectorBase extends Object implements LoadText.EncodingDetector
doDetectEncoding(java.lang.String)
.Constructor and Description |
---|
EncodingDetectorBase() |
Modifier and Type | Method and Description |
---|---|
String |
detectEncoding(String asciiHead)
Parses specified few text lines and returns found encoding if any.
|
public String detectEncoding(String asciiHead)
LoadText.EncodingDetector
detectEncoding
in interface LoadText.EncodingDetector
asciiHead
- the first lines of a text file.null
if not found or invalid.