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  

    Fields inherited from class org.nuiton.processor.Processor

    inputFilter, outputFilter
  • Constructor Summary

    Constructors 
    Constructor Description
    AbstractParserProcessor()  
  • Method Summary

    Modifier and Type Method Description
    void extractKeys​(org.nuiton.processor.ProcessorUtil.FragmentExtractor filter, java.io.File filein, java.lang.String encoding, boolean verbose, java.util.Set<java.lang.String> result)  
    abstract void process​(java.io.File filein, java.io.File fileout, java.lang.String encoding)  
    protected void removefragments​(org.nuiton.processor.ProcessorUtil.FragmentRemover filter, java.io.File filein, java.io.File fileout, java.lang.String encoding, boolean verbose)  
    void saveKeysToFile​(java.io.File fileout, java.util.Set<java.lang.String> keys)  
    void setVerbose​(boolean verbose)  

    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
  • Field Details

    • verbose

      protected boolean verbose
  • Constructor Details

  • Method Details

    • setVerbose

      public void setVerbose​(boolean verbose)
    • process

      public abstract void process​(java.io.File filein, java.io.File fileout, java.lang.String encoding) throws java.io.IOException
      Throws:
      java.io.IOException
    • removefragments

      protected void removefragments​(org.nuiton.processor.ProcessorUtil.FragmentRemover filter, java.io.File filein, java.io.File fileout, java.lang.String encoding, boolean verbose) throws java.io.IOException
      Throws:
      java.io.IOException
    • extractKeys

      public void extractKeys​(org.nuiton.processor.ProcessorUtil.FragmentExtractor filter, java.io.File filein, java.lang.String encoding, boolean verbose, java.util.Set<java.lang.String> result) throws java.io.IOException
      Throws:
      java.io.IOException
    • saveKeysToFile

      public void saveKeysToFile​(java.io.File fileout, java.util.Set<java.lang.String> keys) throws java.io.IOException
      Throws:
      java.io.IOException