org.nuiton.i18n.plugin.parser.impl
Class ParserJavaMojo.JavaFileParser

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

protected static class ParserJavaMojo.JavaFileParser
extends AbstractFileParser


Field Summary
protected  Pattern i18nPattern
          Pattern used to detect i18n keys.
 
Constructor Summary
ParserJavaMojo.JavaFileParser(org.apache.maven.plugin.logging.Log log, String encoding, org.nuiton.io.SortedProperties oldParser, boolean showTouchedFiles)
           
 
Method Summary
 Pattern getI18nPattern()
           
 void parseFile(File file)
          Parse sur un fichier
 void parseLine(File file, String line)
          Parse une partie du fichier
 
Methods inherited from class org.nuiton.i18n.plugin.parser.AbstractFileParser
destroy, finalize, getEncoding, getLog, getResult, isShowTouchedFiles, isTouched, prepareFile, registerKey, setTouched
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

i18nPattern

protected final Pattern i18nPattern
Pattern used to detect i18n keys.

Since:
2.3
Constructor Detail

ParserJavaMojo.JavaFileParser

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

getI18nPattern

public Pattern getI18nPattern()

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.