|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.opoo.press.impl.AbstractConvertible
org.opoo.press.impl.AbstractBase
public abstract class AbstractBase
| 字段摘要 | |
|---|---|
protected org.apache.commons.logging.Log |
log
|
| 方法摘要 | |
|---|---|
protected boolean |
containsHighlightCodeBlock(Highlighter highlighter)
|
protected void |
convert()
|
Object |
get(String name)
Get meta data. |
String |
getContent()
Return the post or page content. |
protected Converter |
getConverter()
|
String |
getDate_formatted()
For freemarker template. |
Date |
getDate()
The date format in the source file is 'yyyy-MM-dd HH:mm' or 'yyyy-MM-dd HH:mm:ss'. |
String |
getDateFormatted()
The output date format of the date. |
String |
getLayout()
The layout of source file. |
String |
getOutputFileExtension()
|
String |
getPath()
The origin file path of the source file, not source directory prefix. |
String |
getPermalink()
The permalink style. |
protected Renderer |
getRenderer()
|
Site |
getSite()
|
Source |
getSource()
The file source. |
String |
getUpdated_formatted()
For freemarker template. |
Date |
getUpdated()
The updated date format in the source file is 'yyyy-MM-dd HH:mm' or 'yyyy-MM-dd HH:mm:ss'. |
String |
getUpdatedFormatted()
The output date format of the updated date. |
String |
getUrl()
Return the URL. |
protected void |
mergeRootMap(Map<String,Object> rootMap)
|
void |
set(String name,
Object value)
Set meta data. |
void |
setContent(String content)
|
void |
setUrl(String url)
|
| 从类 org.opoo.press.impl.AbstractConvertible 继承的方法 |
|---|
getOutputFile, render, write |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 字段详细信息 |
|---|
protected org.apache.commons.logging.Log log
| 方法详细信息 |
|---|
public void set(String name,
Object value)
Base 复制的描述
Base 中的 setBase.get(String)public Object get(String name)
Base 复制的描述
Base 中的 getpublic String getOutputFileExtension()
AbstractConvertible 中的 getOutputFileExtensionpublic Site getSite()
public Source getSource()
Base 复制的描述
Base 中的 getSourceAbstractConvertible 中的 getSourceprotected Converter getConverter()
protected Renderer getRenderer()
AbstractConvertible 中的 getRendererpublic String getContent()
Base 复制的描述Converter in generate processing.
Base 中的 getContentAbstractConvertible 中的 getContentpublic void setContent(String content)
AbstractConvertible 中的 setContentprotected void convert()
AbstractConvertible 中的 convertprotected void mergeRootMap(Map<String,Object> rootMap)
AbstractConvertible 中的 mergeRootMapprotected boolean containsHighlightCodeBlock(Highlighter highlighter)
highlighter - public String getUrl()
Base 复制的描述e.g.: '/index.html', '/categories/', '/about/'
If the site url is 'http://press.opoo.org', the site root is '/docs', and this page/post url is '/chapter01/', then the completely URL is 'http://press.opoo.org/docs/chapter01/'.
Base 中的 getUrlAbstractConvertible 中的 getUrlSite.getRoot()public void setUrl(String url)
public String getPath()
Base 复制的描述
Base 中的 getPathpublic String getLayout()
Base 复制的描述'nil' means null, not apply any template.
Every layout(except 'nil') has a template defined in templates directory. the template file name is '_<layout>.ftl', can extend OpooPress layout using this mechanism.
Base 中的 getLayoutAbstractConvertible 中的 getLayoutpublic String getPermalink()
Base 复制的描述
Base 中的 getPermalinkpublic Date getDate()
Base 复制的描述
Base 中的 getDatepublic Date getUpdated()
Base 复制的描述
Base 中的 getUpdatedpublic String getDateFormatted()
Base 复制的描述
Base 中的 getDateFormattedBase.getDate()public String getUpdatedFormatted()
Base 复制的描述
Base 中的 getUpdatedFormattedBase.getUpdated()public String getDate_formatted()
public String getUpdated_formatted()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||