Package org.opoo.press.source

Examples of org.opoo.press.source.SourceEntry


    this.layout = (String) source.getMeta().get("layout");
    this.permalink = (String) source.getMeta().get("permalink");

    path = (String) source.getMeta().get("path");
    if(path == null){
      SourceEntry sourceEntry = source.getSourceEntry();
      path = sourceEntry.getPath() + "/" + sourceEntry.getName();
    }
   
    //date, updated
    date = lookup(source.getMeta(), "date");
    updated = lookup(source.getMeta(), "updated");
View Full Code Here


  }

  private void resetUrl(){
    String url = (String) getSource().getMeta().get("url");
    if(url == null){
      SourceEntry sourceEntry = getSource().getSourceEntry();
      String baseName = FilenameUtils.getBaseName(sourceEntry.getName());
      String path = sourceEntry.getPath();
      int pageNumber = 1;
      if(pager != null){
        pageNumber = pager.getPageNumber();
      }
     
View Full Code Here

TOP

Related Classes of org.opoo.press.source.SourceEntry

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.