| Constructor and Description |
|---|
TemplateFormatter() |
TemplateFormatter(String template) |
TemplateFormatter(TemplateFormatter src) |
| Modifier and Type | Method and Description |
|---|---|
TemplateFormatter |
clone() |
String |
format(LogRecord record) |
LogNode[] |
getChildren() |
xyz.cofe.text.template.BasicTemplate.Context<LogRecordHelper> |
getContextTemplate() |
xyz.cofe.text.EndLine |
getEndLine() |
int |
getIndex() |
LogNode |
getNextSibling() |
LogNode |
getParent() |
LogNode |
getPreviousSibling() |
LogNode |
getSibling(int i) |
String |
getTemplate() |
boolean |
isAppendEndLine() |
boolean |
isDropLastEmptyLines() |
void |
setAppendEndLine(boolean appendEndLine) |
void |
setDropLastEmptyLines(boolean dropLastEmptyLines) |
void |
setEndLine(xyz.cofe.text.EndLine endLine) |
void |
setParent(LogNode node) |
void |
setTemplate(String template) |
Iterable<xyz.cofe.collection.iterators.TreeWalk<LogNode>> |
tree() |
void |
visit(xyz.cofe.collection.Func1<Boolean,Stack<LogNode>> visiterEnter,
xyz.cofe.collection.Func1<Object,Stack<LogNode>> visiterExit) |
void |
visit(xyz.cofe.common.Reciver<Stack<LogNode>> visiter) |
void |
visit(xyz.cofe.common.Reciver<Stack<LogNode>> visiterEnter,
xyz.cofe.common.Reciver<Stack<LogNode>> visiterExit) |
Iterable<LogNode> |
walk() |
formatMessage, getHead, getTailpublic TemplateFormatter()
public TemplateFormatter(String template)
public TemplateFormatter(TemplateFormatter src)
public TemplateFormatter clone()
public String getTemplate()
public void setTemplate(String template)
public xyz.cofe.text.template.BasicTemplate.Context<LogRecordHelper> getContextTemplate()
public boolean isAppendEndLine()
public void setAppendEndLine(boolean appendEndLine)
public boolean isDropLastEmptyLines()
public void setDropLastEmptyLines(boolean dropLastEmptyLines)
public xyz.cofe.text.EndLine getEndLine()
public void setEndLine(xyz.cofe.text.EndLine endLine)
public LogNode getParent()
getParent in interface xyz.cofe.collection.tree.TreeNode<LogNode>public void setParent(LogNode node)
setParent in interface xyz.cofe.collection.tree.TreeNodeSetParent<LogNode>public LogNode[] getChildren()
getChildren in interface xyz.cofe.collection.tree.TreeNode<LogNode>public int getIndex()
getIndex in interface xyz.cofe.collection.tree.TreeNode<LogNode>public LogNode getSibling(int i)
getSibling in interface xyz.cofe.collection.tree.TreeNode<LogNode>public LogNode getNextSibling()
getNextSibling in interface xyz.cofe.collection.tree.TreeNode<LogNode>public LogNode getPreviousSibling()
getPreviousSibling in interface xyz.cofe.collection.tree.TreeNode<LogNode>public Iterable<LogNode> walk()
walk in interface xyz.cofe.collection.tree.TreeNode<LogNode>public Iterable<xyz.cofe.collection.iterators.TreeWalk<LogNode>> tree()
tree in interface xyz.cofe.collection.tree.TreeNode<LogNode>public void visit(xyz.cofe.common.Reciver<Stack<LogNode>> visiter)
visit in interface xyz.cofe.collection.tree.TreeNode<LogNode>public void visit(xyz.cofe.collection.Func1<Boolean,Stack<LogNode>> visiterEnter, xyz.cofe.collection.Func1<Object,Stack<LogNode>> visiterExit)
visit in interface xyz.cofe.collection.tree.TreeNode<LogNode>Copyright © 2017. All rights reserved.