public class Translate extends MatchingTask
fileset| Constructor and Description | 
|---|
| Translate() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addFileset(FileSet set)Adds a set of files to translate as a nested fileset element. | 
| void | execute()Check attributes values, load resource map and translate | 
| void | setBundle(String bundle)Sets Family name of resource bundle; required. | 
| void | setBundleCountry(String bundleCountry)Sets locale specific country of resource bundle; optional. | 
| void | setBundleEncoding(String bundleEncoding)Sets Resource Bundle file encoding scheme; optional. | 
| void | setBundleLanguage(String bundleLanguage)Sets locale specific language of resource bundle; optional. | 
| void | setBundleVariant(String bundleVariant)Sets locale specific variant of resource bundle; optional. | 
| void | setDestEncoding(String destEncoding)Sets destination file encoding scheme; optional. | 
| void | setEndToken(String endToken)Sets ending token to identify keys; required. | 
| void | setForceOverwrite(boolean forceOverwrite)Whether or not to overwrite existing file irrespective of
 whether it is newer than the source file as well as the
 resource bundle file. | 
| void | setSrcEncoding(String srcEncoding)Sets source file encoding scheme; optional,
 defaults to encoding of local system. | 
| void | setStartToken(String startToken)Sets starting token to identify keys; required. | 
| void | setToDir(File toDir)Sets Destination directory; required. | 
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, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItemsbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypeclone, getDescription, getLocation, getProject, setDescription, setLocationpublic void addFileset(FileSet set)
set - the fileset to be addedpublic void execute()
             throws BuildException
execute in class TaskBuildException - if the required attributes are not set
 Required : public void setBundle(String bundle)
bundle - family name of resource bundlepublic void setBundleCountry(String bundleCountry)
bundleCountry - country of the bundlepublic void setBundleEncoding(String bundleEncoding)
bundleEncoding - bundle file encoding schemepublic void setBundleLanguage(String bundleLanguage)
bundleLanguage - language of the bundlepublic void setBundleVariant(String bundleVariant)
bundleVariant - locale variant of resource bundlepublic void setDestEncoding(String destEncoding)
destEncoding - destination file encoding schemepublic void setEndToken(String endToken)
endToken - ending token to identify keyspublic void setForceOverwrite(boolean forceOverwrite)
forceOverwrite - whether or not to overwrite existing filespublic void setSrcEncoding(String srcEncoding)
srcEncoding - source file encodingpublic void setStartToken(String startToken)
startToken - starting token to identify keyspublic void setToDir(File toDir)
toDir - destination directory