|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface FileParser
the contract of a i18n file parser.
| Method Summary | |
|---|---|
void |
destroy()
clean file parser. |
String |
getEncoding()
Gets encoding used to read and write files. |
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 |
isTouched()
|
void |
parseFile(File file)
Parse sur un fichier |
void |
parseLine(File file,
String line)
Parse une partie du fichier |
| Method Detail |
|---|
String getEncoding()
boolean isTouched()
true if file was touched (says contains at least one i18n
key)org.nuiton.io.SortedProperties getResult()
void parseFile(File file)
throws IOException
file - le fichier à parser
IOException - if any pb
void parseLine(File file,
String line)
throws IOException
file - le fichier à parserline - la ligne à parser
IOException - if any pbvoid destroy()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||