Package com.subgraph.vega.api.analysis

Examples of com.subgraph.vega.api.analysis.IContentAnalyzer


      addWebResponseToPath(response);
    }
  }

  private void addWebResponseToPath(IHttpResponse response) {
    final IContentAnalyzer contentAnalyzer = pathStateManager.getContentAnalyzer();
    final IContentAnalyzerResult result = contentAnalyzer.processResponse(response, false, false);
    final URI uri = createRequest().getURI();
    final String mimeType = contentAnalyzerResultToMimeString(result);
    if(uri.getQuery() == null) {
      if(path.getMimeType() == null && mimeType != null) {
        path.setMimeType(mimeType);
View Full Code Here


    isStarted = true;
    reloadModules();
  }
 
  private UriParser createUriParser(IWebCrawler crawler) {
    final IContentAnalyzer contentAnalyzer = scanner.getContentAnalyzerFactory().createContentAnalyzer(scanInstance);
    return new UriParser(config,
        basicModules,
        workspace,
        crawler,
        new UriFilter(config),
View Full Code Here

TOP

Related Classes of com.subgraph.vega.api.analysis.IContentAnalyzer

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.