public CharsetMatch match(CharsetDetector det) {
            int confidence =
                    match(det, CharsetRecog_8859_1.ngrams_8859_1[getLangIndex()].fNGrams, byteMap);
            return confidence == 0 ? null : new CharsetMatch(det, this, confidence);
        }
@param lang language to find
@return the index into CharsetRecog_8859_1.ngrams_8859_1 that matches his language;
throws IllegalArgumentException if language can't be found
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-text-module/src/main/java/org/apache/tika/parser/txt/CharsetRecog_sbcs.java