org.opoo.press.source.impl
类 SimpleSource
java.lang.Object
org.opoo.press.source.impl.SimpleSource
- 所有已实现的接口:
- Source
public class SimpleSource
- extends java.lang.Object
- implements Source
- 作者:
- Alex Lin
|
构造方法摘要 |
SimpleSource(SourceEntry sourceEntry,
java.util.Map<java.lang.String,java.lang.Object> frontMatter,
java.lang.String content)
|
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleSource
public SimpleSource(SourceEntry sourceEntry,
java.util.Map<java.lang.String,java.lang.Object> frontMatter,
java.lang.String content)
- 参数:
sourceEntry - frontMatter - content -
getSourceEntry
public SourceEntry getSourceEntry()
- 指定者:
- 接口
Source 中的 getSourceEntry
- 返回:
- source entry
getMeta
public java.util.Map<java.lang.String,java.lang.Object> getMeta()
- 从接口
Source 复制的描述
- YAML front-matter header.
- 指定者:
- 接口
Source 中的 getMeta
- 返回:
- map object
getContent
public java.lang.String getContent()
- 指定者:
- 接口
Source 中的 getContent
- 返回:
- content
Copyright © 2013 Opoo.org. All Rights Reserved.