Package it.cnr.isti.hpc.wikipedia.article.Article

Examples of it.cnr.isti.hpc.wikipedia.article.Article.Type


      String id = page.getId();
      String namespace = page.getNamespace();
      Integer integerNamespace = page.getIntegerNamespace();
      String timestamp = page.getTimeStamp();

      Type type = Type.UNKNOWN;
      if (page.isCategory())
        type = Type.CATEGORY;
      if (page.isTemplate()) {
        type = Type.TEMPLATE;
        // FIXME just to go fast;
View Full Code Here


public class UnknownTypeFilter implements Filter<Article> {
 
  public static final UnknownTypeFilter FILTER_OUT = new UnknownTypeFilter();

  public boolean isFilter(Article a) {
    Type type = a.getType();
    return type == Type.UNKNOWN;
  }
View Full Code Here

TOP

Related Classes of it.cnr.isti.hpc.wikipedia.article.Article.Type

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.