Class AngularJSProcessor

java.lang.Object
us.codecraft.webmagic.samples.AngularJSProcessor
All Implemented Interfaces:
PageProcessor

public class AngularJSProcessor extends Object implements PageProcessor
Since:
0.5.0
Author:
code4crafter@gmail.com
  • Constructor Details

    • AngularJSProcessor

      public AngularJSProcessor()
  • Method Details

    • process

      public void process(Page page)
      Description copied from interface: PageProcessor
      Processes the page, extract URLs to fetch, extract the data and store.
      Specified by:
      process in interface PageProcessor
      Parameters:
      page - page
    • getSite

      public Site getSite()
      Description copied from interface: PageProcessor
      Returns the site settings.
      Specified by:
      getSite in interface PageProcessor
      Returns:
      site
      See Also:
    • main

      public static void main(String[] args)