Package net.sourceforge.jwbf.core.contentRep

Examples of net.sourceforge.jwbf.core.contentRep.ContentAccessable


   @return      PlainText object representing article
   *               or null if exceptions occurred     
   */
  private MediaWikiText readArticle(String name) {
   
    ContentAccessable content;
   
    try {
      content = bot.readContent(name);
    } catch (ActionException e) {
      return null;
    } catch (ProcessException e) {
      return null;
    }
   
    if ( content == null ) {
      return null;
    } else {
      return new MediaWikiText(
          content.getText(),
          content.getTitle(),
          "",
          true,
          currentURL);
    }
       
View Full Code Here

TOP

Related Classes of net.sourceforge.jwbf.core.contentRep.ContentAccessable

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.