Class RarFileSearchHandler

    • Constructor Detail

      • RarFileSearchHandler

        public RarFileSearchHandler()
    • Method Detail

      • handles

        public boolean handles​(String file)
        Checks whether the handler can manage this file.
        Parameters:
        file - the file to check
        Returns:
        true if handler can search this type of file
      • searchFile

        public boolean searchFile​(String file,
                                  String searchText,
                                  boolean caseSensitive,
                                  ExceptionHandler handler)
        Searches the specified file.
        Parameters:
        file - the file to search
        searchText - the search text
        handler - for handling exceptions, can be null
        Returns:
        true if the search text was found