private static Set<MediaType> getTypes() {
        HashSet<MediaType> supportedTypes = new HashSet<>();
        supportedTypes.add(MediaType.OCTET_STREAM);
        return supportedTypes;
    }
Returns the set of supported types.

@return the set of supported types
tika-parsers/tika-parsers-standard/tika-parsers-standard-modules/tika-parser-text-module/src/main/java/org/apache/tika/parser/strings/Latin1StringsParser.java