Package org.opoo.press.slug

Examples of org.opoo.press.slug.DefaultSlugHelper


      sourceManager.setYaml(yaml);
     
      siteManager = new SiteManagerImpl();
      siteManager.setYaml(yaml);

      set(DefaultSlugHelper.class.getName(), new DefaultSlugHelper());
      set(ChineseToPinyinSlugHelper.class.getName(), new ChineseToPinyinSlugHelper());

      Application.setContext(this);
    }
  }
View Full Code Here


    }
   
    //slug
    String slugHelperClassName = (String) config.get("slugHelper");
    if(slugHelperClassName == null){
      slugHelper = new DefaultSlugHelper();
      log.debug("Set SlugHelper: " + DefaultSlugHelper.class.getName());
    }else{
      slugHelper = Application.getContext().get(slugHelperClassName, SlugHelper.class);
      if(slugHelper != null){
        log.debug("Set SlugHelper from Context object: " + slugHelper);
View Full Code Here

TOP

Related Classes of org.opoo.press.slug.DefaultSlugHelper

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.