org.nuiton.i18n.plugin.parser.impl
Class ParserTapestryMojo.TapestryFileProcessor
java.lang.Object
org.nuiton.processor.Processor
org.nuiton.i18n.plugin.parser.impl.ProcessorHelper.AbstractParserProcessor
org.nuiton.i18n.plugin.parser.impl.ParserTapestryMojo.TapestryFileProcessor
- Enclosing class:
- ParserTapestryMojo
public static class ParserTapestryMojo.TapestryFileProcessor
- extends ProcessorHelper.AbstractParserProcessor
To Extract i18n keys from tapestry template files.
Says :
- Remove all xml comments
- Keep content of
${message:XXX}
- Keep content of
${format:XXX}}
- Since:
- 2.1
- Author:
- tchemit
|
Field Summary |
protected org.nuiton.processor.ProcessorUtil.FragmentExtractor |
extractor1
|
protected org.nuiton.processor.ProcessorUtil.FragmentExtractor |
extractor2
|
protected org.nuiton.processor.ProcessorUtil.FragmentRemover |
remover1
|
| Fields inherited from class org.nuiton.processor.Processor |
inputFilter, outputFilter |
| Methods inherited from class org.nuiton.processor.Processor |
getReader, process, setInputFilter, setInputFilter, setOutputFilter |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
remover1
protected org.nuiton.processor.ProcessorUtil.FragmentRemover remover1
extractor1
protected org.nuiton.processor.ProcessorUtil.FragmentExtractor extractor1
extractor2
protected org.nuiton.processor.ProcessorUtil.FragmentExtractor extractor2
ParserTapestryMojo.TapestryFileProcessor
public ParserTapestryMojo.TapestryFileProcessor()
process
public void process(File filein,
File fileout,
String encoding)
throws IOException
- Specified by:
process in class ProcessorHelper.AbstractParserProcessor
- Throws:
IOException
Copyright © 2007-2011 CodeLutin. All Rights Reserved.