Package net.sf.clairv.index.resource

Examples of net.sf.clairv.index.resource.Resource


  public void start() {
    Collection resources = context.getResources();
    ResourceProcessor resourceProcessor = context.getResourceProcessor();
    for (Iterator itr = resources.iterator(); itr.hasNext(); ) {
      Resource resource = (Resource)itr.next();
      ResourceMetaData meta = resource.getMetaData();
      log.info("Starting to indexing resource: " + meta.getResourceName());
      long start = System.currentTimeMillis();
      int count = resourceProcessor.process(resource);
      log.info("Indexing on resource \"" + meta.getResourceName()
          + "\" done (" + (System.currentTimeMillis() - start)
View Full Code Here

TOP

Related Classes of net.sf.clairv.index.resource.Resource

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.