public interface FileParser
| Modifier and Type | Method and Description |
|---|---|
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
|
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 à parserIOException - if any pbvoid parseLine(File file, String line) throws IOException
file - le fichier à parserline - la ligne à parserIOException - if any pbvoid destroy()
Copyright © 2007-2012 CodeLutin. All Rights Reserved.