Class StringsParser

  • All Implemented Interfaces:
    Serializable, org.apache.tika.parser.Parser

    public class StringsParser
    extends org.apache.tika.parser.AbstractParser
    Parser that uses the "strings" (or strings-alternative) command to find the printable strings in a object, or other binary, file (application/octet-stream). Useful as "best-effort" parser for files detected as application/octet-stream.
    Author:
    gtotaro
    See Also:
    Serialized Form
    • Constructor Detail

      • StringsParser

        public StringsParser()
    • Method Detail

      • getSupportedTypes

        public Set<org.apache.tika.mime.MediaType> getSupportedTypes​(org.apache.tika.parser.ParseContext context)
      • getStringsProg

        public static String getStringsProg()
      • getFileProg

        public static String getFileProg()