wt.tools.boot
Class AntTaskUtils

java.lang.Object
  extended bywt.tools.boot.AntTaskUtils

class AntTaskUtils
extends Object


Field Summary
private static String[] ALL_PREFIX_SUFFIXES
           
private static String[] BASE_LOCALE_SUBSTRINGS
           
private static String[] DSU_AND_FCS_PREFIX_SUFFIXES
           
private static String[] FCS_PREFIX_SUFFIXES
           
private static String JAR_INCLUDES_FILE_SUFFIX
           
private static String LOGICAL_JAR_NAME_DELIMS
           
 
Constructor Summary
(package private) AntTaskUtils()
           
 
Method Summary
(package private) static void addEntries(Collection entries, File file)
           
(package private) static File[] getDsuAndFcsIncludesFiles(File jarContentsDir, String logicalJarNames)
           
(package private) static Collection getEntries(File file, boolean sorted)
           
(package private) static File[] getFcsJarIncludesFiles(File jarContentsDir, String logicalJarNames)
           
(package private) static File[] getFiles(org.apache.tools.ant.Project project, String fileSetId)
           
private static Collection getJarDescrFileColl(File dir, String logicalJarNames, String suffix, String[] suffixPrefixes)
           
private static File[] getJarDescrFiles(File dir, String logicalJarNames, String suffix, String[] suffixPrefixStrings)
           
(package private) static File[] getJarIncludesFiles(File jarContentsDir, String logicalJarNames)
           
(package private) static Collection getLocaleSubstrings(Collection additionalLocaleStrings)
           
(package private) static Set getLogicalJarNameSet(String logicalJarNames)
           
(package private) static void writeStringCollection(BufferedWriter writer, Collection strings)
           
(package private) static void writeStringCollection(File file, Collection strings)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BASE_LOCALE_SUBSTRINGS

private static final String[] BASE_LOCALE_SUBSTRINGS

LOGICAL_JAR_NAME_DELIMS

private static final String LOGICAL_JAR_NAME_DELIMS
See Also:
Constant Field Values

JAR_INCLUDES_FILE_SUFFIX

private static final String JAR_INCLUDES_FILE_SUFFIX
See Also:
Constant Field Values

DSU_AND_FCS_PREFIX_SUFFIXES

private static final String[] DSU_AND_FCS_PREFIX_SUFFIXES

ALL_PREFIX_SUFFIXES

private static final String[] ALL_PREFIX_SUFFIXES

FCS_PREFIX_SUFFIXES

private static final String[] FCS_PREFIX_SUFFIXES
Constructor Detail

AntTaskUtils

AntTaskUtils()
Method Detail

getLocaleSubstrings

static Collection getLocaleSubstrings(Collection additionalLocaleStrings)
                               throws IOException
Throws:
IOException

getLogicalJarNameSet

static Set getLogicalJarNameSet(String logicalJarNames)

getDsuAndFcsIncludesFiles

static File[] getDsuAndFcsIncludesFiles(File jarContentsDir,
                                        String logicalJarNames)

getJarIncludesFiles

static File[] getJarIncludesFiles(File jarContentsDir,
                                  String logicalJarNames)

getFcsJarIncludesFiles

static File[] getFcsJarIncludesFiles(File jarContentsDir,
                                     String logicalJarNames)

getJarDescrFiles

private static File[] getJarDescrFiles(File dir,
                                       String logicalJarNames,
                                       String suffix,
                                       String[] suffixPrefixStrings)

getJarDescrFileColl

private static Collection getJarDescrFileColl(File dir,
                                              String logicalJarNames,
                                              String suffix,
                                              String[] suffixPrefixes)

getFiles

static File[] getFiles(org.apache.tools.ant.Project project,
                       String fileSetId)

writeStringCollection

static void writeStringCollection(File file,
                                  Collection strings)
                           throws IOException
Throws:
IOException

writeStringCollection

static void writeStringCollection(BufferedWriter writer,
                                  Collection strings)
                           throws IOException
Throws:
IOException

getEntries

static Collection getEntries(File file,
                             boolean sorted)
                      throws FileNotFoundException,
                             IOException
Throws:
FileNotFoundException
IOException

addEntries

static void addEntries(Collection entries,
                       File file)
                throws FileNotFoundException,
                       IOException
Throws:
FileNotFoundException
IOException