org.opoo.press.impl
类 SiteImpl
java.lang.Object
org.opoo.press.impl.SiteImpl
- 所有已实现的接口:
- Site, SiteBuilder, SiteHelper
public class SiteImpl
- extends Object
- implements Site, SiteBuilder
- 作者:
- Alex Lin
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
build
public void build()
- 指定者:
- 接口
SiteBuilder 中的 build
getPages
public List<Page> getPages()
- 指定者:
- 接口
Site 中的 getPages
- 返回:
- the pages
getPosts
public List<Post> getPosts()
- 指定者:
- 接口
Site 中的 getPosts
- 返回:
- the posts
getConfig
public SiteConfig getConfig()
- 指定者:
- 接口
Site 中的 getConfig
getSource
public File getSource()
- 从接口
Site 复制的描述
- Source directory.
- 指定者:
- 接口
Site 中的 getSource
- 返回:
getSources
public List<File> getSources()
- 从接口
Site 复制的描述
- Other source directories.
- 指定者:
- 接口
Site 中的 getSources
- 返回:
getDestination
public File getDestination()
- 指定者:
- 接口
Site 中的 getDestination
getStaticFiles
public List<StaticFile> getStaticFiles()
- 指定者:
- 接口
Site 中的 getStaticFiles
getTime
public Date getTime()
- 指定者:
- 接口
Site 中的 getTime
get
public Object get(String name)
- 从接口
Site 复制的描述
- Get value from configuration file or site variables.
- 指定者:
- 接口
Site 中的 get
- 返回:
- value
- 另请参见:
Site.set(String, Object)
set
public void set(String name,
Object value)
- 从接口
Site 复制的描述
- Set a variable for site.
- 指定者:
- 接口
Site 中的 set
- 另请参见:
Site.get(String)
getRenderer
public Renderer getRenderer()
- 指定者:
- 接口
Site 中的 getRenderer
getTemplates
public File getTemplates()
- 指定者:
- 接口
Site 中的 getTemplates
getAssets
public File getAssets()
- 指定者:
- 接口
Site 中的 getAssets
getWorking
public File getWorking()
- 指定者:
- 接口
Site 中的 getWorking
getConverter
public Converter getConverter(Source source)
- 指定者:
- 接口
Site 中的 getConverter
getRoot
public String getRoot()
- 指定者:
- 接口
Site 中的 getRoot
getLocale
public Locale getLocale()
- 指定者:
- 接口
Site 中的 getLocale
getHighlighter
public Highlighter getHighlighter()
- 指定者:
- 接口
Site 中的 getHighlighter
getRelatedPostsFinder
public RelatedPostsFinder getRelatedPostsFinder()
- 从接口
Site 复制的描述
- Could configured in
config.yml by variable 'relatedPostsFinder'.
- 指定者:
- 接口
Site 中的 getRelatedPostsFinder
- 返回:
- RelatedPostsFinder
getCategories
public List<Category> getCategories()
- 指定者:
- 接口
Site 中的 getCategories
getTags
public List<Tag> getTags()
- 指定者:
- 接口
Site 中的 getTags
buildCanonical
public String buildCanonical(String url)
- 指定者:
- 接口
SiteHelper 中的 buildCanonical
toSlug
public String toSlug(String tagName)
- 指定者:
- 接口
SiteHelper 中的 toSlug
toNicename
public String toNicename(String categoryName)
- 指定者:
- 接口
SiteHelper 中的 toNicename
getCategory
public Category getCategory(String categoryNameOrNicename)
- 指定者:
- 接口
SiteHelper 中的 getCategory
getTag
public Tag getTag(String tagNameOrSlug)
- 指定者:
- 接口
SiteHelper 中的 getTag
getPermalink
public String getPermalink()
- 从接口
Site 复制的描述
- The site permalink style for all posts.
- 指定者:
- 接口
Site 中的 getPermalink
- 返回:
- permalink
getSite
public File getSite()
- 指定者:
- 接口
Site 中的 getSite
- 返回:
- the site
showDrafts
public boolean showDrafts()
- 指定者:
- 接口
Site 中的 showDrafts
- 返回:
- the showDrafts
getLastBuildInfo
public Site.BuildInfo getLastBuildInfo()
- 指定者:
- 接口
Site 中的 getLastBuildInfo
Copyright © 2013 Opoo.org. All Rights Reserved.