Class ProcessorHelper.AbstractParserProcessor
- java.lang.Object
-
- org.nuiton.processor.Processor
-
- org.nuiton.i18n.plugin.parser.impl.ProcessorHelper.AbstractParserProcessor
-
- Enclosing class:
- ProcessorHelper
public abstract static class ProcessorHelper.AbstractParserProcessor extends org.nuiton.processor.Processor
Abstract processor to be used with some smooth logic...- Since:
- 2.1
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
verbose
-
Constructor Summary
Constructors Constructor Description AbstractParserProcessor()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
extractKeys(org.nuiton.processor.ProcessorUtil.FragmentExtractor filter, File filein, String encoding, boolean verbose, Set<String> result)
abstract void
process(File filein, File fileout, String encoding)
protected void
removefragments(org.nuiton.processor.ProcessorUtil.FragmentRemover filter, File filein, File fileout, String encoding, boolean verbose)
void
saveKeysToFile(File fileout, Set<String> keys)
void
setVerbose(boolean verbose)
-
-
-
Method Detail
-
setVerbose
public void setVerbose(boolean verbose)
-
process
public abstract void process(File filein, File fileout, String encoding) throws IOException
- Throws:
IOException
-
removefragments
protected void removefragments(org.nuiton.processor.ProcessorUtil.FragmentRemover filter, File filein, File fileout, String encoding, boolean verbose) throws IOException
- Throws:
IOException
-
extractKeys
public void extractKeys(org.nuiton.processor.ProcessorUtil.FragmentExtractor filter, File filein, String encoding, boolean verbose, Set<String> result) throws IOException
- Throws:
IOException
-
saveKeysToFile
public void saveKeysToFile(File fileout, Set<String> keys) throws IOException
- Throws:
IOException
-
-