|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.i18n.plugin.parser.AbstractFileParser
public abstract class AbstractFileParser
A abstract implementation of a FileParser with no logic.
| Constructor Summary | |
|---|---|
protected |
AbstractFileParser(org.apache.maven.plugin.logging.Log log,
String encoding,
org.nuiton.io.SortedProperties oldParser,
boolean showTouchedFiles)
|
| Method Summary | |
|---|---|
void |
destroy()
clean file parser. |
protected void |
finalize()
|
String |
getEncoding()
Gets encoding used to read and write files. |
org.apache.maven.plugin.logging.Log |
getLog()
|
org.nuiton.io.SortedProperties |
getResult()
TODO As we do not used anylonger old language, we should directly TODO use only a set of keys, no need to keep i18n value... |
boolean |
isShowTouchedFiles()
|
boolean |
isTouched()
|
protected void |
registerKey(String key)
Method to invoke when a i18n key was detected . |
protected void |
setTouched(boolean touched)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuiton.i18n.plugin.parser.FileParser |
|---|
parseFile, parseLine |
| Constructor Detail |
|---|
protected AbstractFileParser(org.apache.maven.plugin.logging.Log log,
String encoding,
org.nuiton.io.SortedProperties oldParser,
boolean showTouchedFiles)
| Method Detail |
|---|
public boolean isShowTouchedFiles()
public boolean isTouched()
isTouched in interface FileParsertrue if file was touched (says contains at least one i18n
key)public org.nuiton.io.SortedProperties getResult()
FileParser
getResult in interface FileParserpublic String getEncoding()
FileParser
getEncoding in interface FileParserpublic void destroy()
FileParser
destroy in interface FileParser
protected void finalize()
throws Throwable
finalize in class ObjectThrowablepublic org.apache.maven.plugin.logging.Log getLog()
protected void registerKey(String key)
key - the i18n key to registerprotected void setTouched(boolean touched)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||