Package org.opoo.press.impl

Examples of org.opoo.press.impl.ContextImpl


    site = new File(siteDir);
    if(!site.exists() || !site.isDirectory()){
      throw new IllegalArgumentException("Site is not a valid directory.");
    }
   
    new ContextImpl().initialize();
    siteManager = Application.getContext().getSiteManager();
    sourceParser = Application.getContext().getSourceParser();
  }
View Full Code Here


    getLog().info("The site directory is : " + siteDir.getAbsolutePath());
    execute(getSiteManager(), siteDir);
  }

  private SiteManager getSiteManager(){
    new ContextImpl().initialize();
    return Application.getContext().getSiteManager();
  }
View Full Code Here

TOP

Related Classes of org.opoo.press.impl.ContextImpl

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.