Package org.archive.wayback.archivalurl

Examples of org.archive.wayback.archivalurl.FastArchivalUrlReplayParseEventHandler


    ReplayParseContext rpc =
      new ReplayParseContext(new TestContextURICFactory(ca),url,datespec);

    ContextAwareLexer caLex = new ContextAwareLexer(lexer, rpc);
    ArrayList<Node> nodes = new ArrayList<Node>();
    FastArchivalUrlReplayParseEventHandler handler =
      new FastArchivalUrlReplayParseEventHandler();
    handler.setCommentJsp(null);
    handler.setJspInsertPath(null);
    handler.init();
   
    while(true) {
      Node next = caLex.nextNode();
      if(next == null) {
        break;
      }
      handler.handleNode(rpc, next);
      nodes.add(next);
    }
    return ca;
  }
View Full Code Here

TOP

Related Classes of org.archive.wayback.archivalurl.FastArchivalUrlReplayParseEventHandler

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.