wt.tools.boot
Class ExpandJarLocalesTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
wt.tools.boot.ExpandJarLocalesTask
- public class ExpandJarLocalesTask
- extends org.apache.tools.ant.Task
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FCS_SUFFIX
private static final String FCS_SUFFIX
- See Also:
- Constant Field Values
FCS_SUFFIX_LEN
private static final int FCS_SUFFIX_LEN
DSU_SUFFIX
private static final String DSU_SUFFIX
- See Also:
- Constant Field Values
CUST_SUFFIX
private static final String CUST_SUFFIX
- See Also:
- Constant Field Values
codebaseDir
private File codebaseDir
jarContentsDir
private File jarContentsDir
logicalJarNames
private String logicalJarNames
localeListFile
private File localeListFile
traceOnly
private boolean traceOnly
ExpandJarLocalesTask
public ExpandJarLocalesTask()
setCodebaseDir
public void setCodebaseDir(File codebaseDir)
setJarContentsDir
public void setJarContentsDir(File jarContentsDir)
setLogicalJarNames
public void setLogicalJarNames(String logicalJarNames)
setLocaleListFile
public void setLocaleListFile(File localeListFile)
setTraceOnly
public void setTraceOnly(boolean traceOnly)
execute
public void execute()
throws org.apache.tools.ant.BuildException
- Throws:
org.apache.tools.ant.BuildException
accept
public boolean accept(File dir,
String filename)
execute
private void execute(Collection desiredLocales,
File fcsJarIncludesFile,
Collection localeSubstrings)
throws IOException
- Throws:
IOException
getLocalizedEntries
private Collection getLocalizedEntries(String entry,
Collection localeStrings,
String localeSubString,
int entryCharIdx,
boolean additive)