|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.opoo.press.impl.AbstractConvertible
org.opoo.press.impl.AbstractBase
public abstract class AbstractBase
| 字段摘要 | |
|---|---|
protected org.slf4j.Logger |
log
|
| 方法摘要 | |
|---|---|
protected boolean |
containsHighlightCodeBlock(Highlighter highlighter)
|
protected void |
convert()
|
java.lang.Object |
get(java.lang.String name)
Get meta data. |
java.lang.String |
getContent()
Return the post or page content. |
protected Converter |
getConverter()
|
java.lang.String |
getDate_formatted()
For freemarker template. |
java.util.Date |
getDate()
The date format in the source file is 'yyyy-MM-dd HH:mm' or 'yyyy-MM-dd HH:mm:ss'. |
java.lang.String |
getDateFormatted()
The output date format of the date. |
java.lang.String |
getLayout()
The layout of source file. |
java.lang.String |
getOutputFileExtension()
|
java.lang.String |
getPath()
The origin file path of the source file, not source directory prefix. |
java.lang.String |
getPermalink()
The permalink style. |
protected Renderer |
getRenderer()
|
Site |
getSite()
|
Source |
getSource()
The file source. |
java.lang.String |
getUpdated_formatted()
For freemarker template. |
java.util.Date |
getUpdated()
The updated date format in the source file is 'yyyy-MM-dd HH:mm' or 'yyyy-MM-dd HH:mm:ss'. |
java.lang.String |
getUpdatedFormatted()
The output date format of the updated date. |
java.lang.String |
getUrl()
Return the URL. |
protected void |
mergeRootMap(java.util.Map<java.lang.String,java.lang.Object> rootMap)
|
void |
set(java.lang.String name,
java.lang.Object value)
Set meta data. |
void |
setContent(java.lang.String content)
|
void |
setUrl(java.lang.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.slf4j.Logger log
| 方法详细信息 |
|---|
public void set(java.lang.String name,
java.lang.Object value)
Base 复制的描述
Base 中的 setBase.get(String)public java.lang.Object get(java.lang.String name)
Base 复制的描述
Base 中的 getpublic java.lang.String getOutputFileExtension()
AbstractConvertible 中的 getOutputFileExtensionpublic Site getSite()
public Source getSource()
Base 复制的描述
Base 中的 getSourceAbstractConvertible 中的 getSourceprotected Converter getConverter()
protected Renderer getRenderer()
AbstractConvertible 中的 getRendererpublic java.lang.String getContent()
Base 复制的描述Converter in generate processing.
Base 中的 getContentAbstractConvertible 中的 getContentpublic void setContent(java.lang.String content)
AbstractConvertible 中的 setContentprotected void convert()
AbstractConvertible 中的 convertprotected void mergeRootMap(java.util.Map<java.lang.String,java.lang.Object> rootMap)
AbstractConvertible 中的 mergeRootMapprotected boolean containsHighlightCodeBlock(Highlighter highlighter)
highlighter - public java.lang.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(java.lang.String url)
public java.lang.String getPath()
Base 复制的描述
Base 中的 getPathpublic java.lang.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 java.lang.String getPermalink()
Base 复制的描述
Base 中的 getPermalinkpublic java.util.Date getDate()
Base 复制的描述
Base 中的 getDatepublic java.util.Date getUpdated()
Base 复制的描述
Base 中的 getUpdatedpublic java.lang.String getDateFormatted()
Base 复制的描述
Base 中的 getDateFormattedBase.getDate()public java.lang.String getUpdatedFormatted()
Base 复制的描述
Base 中的 getUpdatedFormattedBase.getUpdated()public java.lang.String getDate_formatted()
public java.lang.String getUpdated_formatted()
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||