Package tvbrowser.core.search.booleansearch

Examples of tvbrowser.core.search.booleansearch.BooleanSearcher


      }
      case SEARCHER_TYPE_REGULAR_EXPRESSION:
        return new RegexSearcher(searchTerm, caseSensitive);
      case SEARCHER_TYPE_BOOLEAN:
        try {
          return new BooleanSearcher(searchTerm, caseSensitive);
        }catch (ParserException e) {
          throw new TvBrowserException(PluginManagerImpl.class, "parser.error","Invalid input: {0}", e.getLocalizedMessage());
        }
      default: throw new IllegalArgumentException("Unknown searcher type: " + type);
    }
View Full Code Here

TOP

Related Classes of tvbrowser.core.search.booleansearch.BooleanSearcher

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.