|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object Reader CharArrayReader ee.mare.indrek.jtlt.TemplateBeautifyReader
Read in the template and try to beautify the input to to get nicer looking output from templates. That is whenever there is a single line that starts with SUB and ends with tag end or starts with END then from end and start all whitespace is trimmed, including newlines. But if line starts with sub or end, the white space before is removed.
Field Summary |
Fields inherited from class CharArrayReader |
buf, count, markedPos, pos |
Fields inherited from class Reader |
lock |
Constructor Summary | |
TemplateBeautifyReader(Reader reader,
TemplateContext ctx)
|
Methods inherited from class CharArrayReader |
close, mark, markSupported, read, read, ready, reset, skip |
Methods inherited from class Reader |
read |
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TemplateBeautifyReader(Reader reader, TemplateContext ctx) throws IOException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |