org.nuiton.processor
Class I18nExtractor
java.lang.Object
org.nuiton.processor.I18nExtractor
public class I18nExtractor
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
filter
protected I18nFilter filter
store
protected Map<String,List<String>> store
I18nExtractor
public I18nExtractor()
extract
public void extract(File[] srcFiles,
File outputFile,
String encoding)
throws IOException
- Process input file to target.
- Parameters:
srcFiles - source filesoutputFile - target fileencoding - encoding used to read and write files
- Throws:
IOException - if any io problems- Since:
- 1.0.4
extract
@Deprecated
public void extract(File[] srcFiles,
File outputFile)
throws IOException
- Deprecated. since 1.0.4, prefer use the
extract(File[], File, String)
- Parameters:
srcFiles - source filesoutputFile - target file
- Throws:
IOException - if any io problems
processFile
protected void processFile(File srcFile,
String encoding)
throws IOException
- Throws:
IOException
processLine
protected void processLine(String line,
File srcFile,
int lineNumber)
main
public static void main(String[] args)
Copyright © 2002-2010 CodeLutin. All Rights Reserved.