org.nuiton.i18n.ant
Class I18nExtractorTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by org.nuiton.i18n.ant.I18nExtractorTask
All Implemented Interfaces:
Cloneable, org.apache.tools.ant.types.selectors.SelectorContainer

public class I18nExtractorTask
extends org.apache.tools.ant.taskdefs.MatchingTask

I18nExtractorTask. Created: Aug 16, 2004

Version:
$Revision: 1748 $ Last update : $Date: 2010-04-15 17:37:16 +0200 (jeu., 15 avril 2010) $ by :
Author:
Cédric Pineau

Field Summary
protected  File destFile
           
protected  String[] excludes
           
protected  String[] includes
           
static int MSG_VERBOSE
           
protected  File srcDir
           
protected  String[] srcFileNames
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
I18nExtractorTask()
           
 
Method Summary
protected  void buildFileList()
           
protected  void doExecute()
           
 void execute()
           
protected  String[] getExcludes()
           
protected  String[] getIncludes()
           
protected  boolean isNewer(String filein, String fileout)
           
 void setDestFile(File destFile)
           
 void setExcludes(String excludes)
           
 void setIncludes(String includes)
           
 void setSrcdir(File srcDir)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludesfile, setFollowSymlinks, setIncludesfile, setProject, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MSG_VERBOSE

public static final int MSG_VERBOSE
See Also:
Constant Field Values

srcDir

protected File srcDir

destFile

protected File destFile

includes

protected String[] includes

excludes

protected String[] excludes

srcFileNames

protected String[] srcFileNames
Constructor Detail

I18nExtractorTask

public I18nExtractorTask()
Method Detail

doExecute

protected void doExecute()
                  throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

setSrcdir

public void setSrcdir(File srcDir)

setDestFile

public void setDestFile(File destFile)

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

buildFileList

protected void buildFileList()

isNewer

protected boolean isNewer(String filein,
                          String fileout)

getExcludes

protected String[] getExcludes()

getIncludes

protected String[] getIncludes()

setIncludes

public void setIncludes(String includes)
Overrides:
setIncludes in class org.apache.tools.ant.taskdefs.MatchingTask

setExcludes

public void setExcludes(String excludes)
Overrides:
setExcludes in class org.apache.tools.ant.taskdefs.MatchingTask


Copyright © 2010 CodeLutin. All Rights Reserved.