org.nuiton.processor
Class I18nExtractor

java.lang.Object
  extended by org.nuiton.processor.I18nExtractor

Deprecated. since 1.1, will not be replaced in this project, but you can find it in I18n project. Will be remove soon.

@Deprecated
public class I18nExtractor
extends Object


Field Summary
protected  I18nFilter filter
          Deprecated.  
protected  Map<String,List<String>> store
          Deprecated.  
 
Constructor Summary
I18nExtractor()
          Deprecated.  
 
Method Summary
 void extract(File[] srcFiles, File outputFile)
          Deprecated. since 1.0.4, prefer use the extract(File[], File, String)
 void extract(File[] srcFiles, File outputFile, String encoding)
          Deprecated. Process input file to target.
static void main(String[] args)
          Deprecated.  
protected  void processFile(File srcFile, String encoding)
          Deprecated.  
protected  void processLine(String line, File srcFile, int lineNumber)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

filter

protected I18nFilter filter
Deprecated. 

store

protected Map<String,List<String>> store
Deprecated. 
Constructor Detail

I18nExtractor

public I18nExtractor()
Deprecated. 
Method Detail

extract

public void extract(File[] srcFiles,
                    File outputFile,
                    String encoding)
             throws IOException
Deprecated. 
Process input file to target.

Parameters:
srcFiles - source files
outputFile - target file
encoding - 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 files
outputFile - target file
Throws:
IOException - if any io problems

processFile

protected void processFile(File srcFile,
                           String encoding)
                    throws IOException
Deprecated. 
Throws:
IOException

processLine

protected void processLine(String line,
                           File srcFile,
                           int lineNumber)
Deprecated. 

main

public static void main(String[] args)
Deprecated. 


Copyright © 2002-2011 CodeLutin. All Rights Reserved.