protected static class ParserJavaMojo.JavaFileParser extends AbstractFileParser
| Modifier and Type | Field and Description |
|---|---|
protected Pattern |
i18nPattern
Pattern used to detect i18n keys.
|
acceptKeyPattern| Constructor and Description |
|---|
ParserJavaMojo.JavaFileParser(org.apache.maven.plugin.logging.Log log,
String encoding,
org.nuiton.io.SortedProperties oldParser,
Pattern acceptKeyPattern,
boolean showTouchedFiles) |
| Modifier and Type | Method and Description |
|---|---|
Pattern |
getI18nPattern() |
void |
parseFile(File file)
Parse sur un fichier
|
void |
parseLine(File file,
String line)
Parse une partie du fichier
|
destroy, finalize, getEncoding, getLog, getResult, isShowTouchedFiles, isTouched, prepareFile, registerKey, setTouchedprotected final Pattern i18nPattern
public Pattern getI18nPattern()
public void parseFile(File file) throws IOException
FileParserfile - le fichier à parserIOException - if any pbpublic void parseLine(File file, String line) throws IOException
FileParserfile - le fichier à parserline - la ligne à parserIOException - if any pbCopyright © 2007-2013 CodeLutin. All Rights Reserved.