org.nuiton.i18n.plugin.parser.impl
Class ParserGWTJavaMojo.GWTJavaFileParser

java.lang.Object
  extended by org.nuiton.i18n.plugin.parser.AbstractFileParser
      extended by org.nuiton.i18n.plugin.parser.impl.ParserGWTJavaMojo.GWTJavaFileParser
All Implemented Interfaces:
FileParser
Enclosing class:
ParserGWTJavaMojo

protected class ParserGWTJavaMojo.GWTJavaFileParser
extends AbstractFileParser


Constructor Summary
ParserGWTJavaMojo.GWTJavaFileParser(org.apache.maven.plugin.logging.Log log, String encoding, org.nuiton.io.SortedProperties oldParser, boolean showTouchedFiles)
           
 
Method Summary
 void parseFile(File file)
          Parse sur un fichier
 void parseLine(File file, String line)
          Parse une partie du fichier
protected  File prepareFile(File file)
          To prepare the file (if any thing to be done before scanning it).
 
Methods inherited from class org.nuiton.i18n.plugin.parser.AbstractFileParser
destroy, finalize, getEncoding, getLog, getResult, isShowTouchedFiles, isTouched, registerKey, setTouched
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserGWTJavaMojo.GWTJavaFileParser

public ParserGWTJavaMojo.GWTJavaFileParser(org.apache.maven.plugin.logging.Log log,
                                           String encoding,
                                           org.nuiton.io.SortedProperties oldParser,
                                           boolean showTouchedFiles)
Method Detail

prepareFile

protected File prepareFile(File file)
                    throws IOException
Description copied from class: AbstractFileParser
To prepare the file (if any thing to be done before scanning it).

By default do nothing, use directly the input file.

Overrides:
prepareFile in class AbstractFileParser
Parameters:
file - the incoming file
Returns:
the real file to process
Throws:
IOException - if any IO problem while preparing file

parseFile

public void parseFile(File file)
               throws IOException
Description copied from interface: FileParser
Parse sur un fichier

Parameters:
file - le fichier à parser
Throws:
IOException - if any pb

parseLine

public void parseLine(File file,
                      String line)
               throws IOException
Description copied from interface: FileParser
Parse une partie du fichier

Parameters:
file - le fichier à parser
line - la ligne à parser
Throws:
IOException - if any pb


Copyright © 2007-2011 CodeLutin. All Rights Reserved.