net.sf.antcontrib.cpptasks.borland
Class BorlandProcessor

java.lang.Object
  |
  +--net.sf.antcontrib.cpptasks.borland.BorlandProcessor

public final class BorlandProcessor
extends java.lang.Object

A add-in class for Borland(r) processor adapters


Method Summary
static void addWarningSwitch(java.util.Vector args, int level)
           
static java.lang.String getCommandFileSwitch(java.lang.String cmdFile)
           
static void getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)
           
static java.io.File[] getEnvironmentPath(java.lang.String toolName, char switchChar, java.lang.String[] defaultRelativePath)
          This method extracts path information from the appropriate .cfg file in the install directory.
static java.lang.String getIncludeDirSwitch(java.lang.String includeOption, java.lang.String includeDir)
           
static java.lang.String[] getLibraryPatterns(java.lang.String[] libnames)
           
static java.lang.String[] getOutputFileSwitch(java.lang.String outFile)
           
static void getUndefineSwitch(java.lang.StringBuffer buffer, java.lang.String define)
           
static boolean isCaseSensitive()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIncludeDirSwitch

public static java.lang.String getIncludeDirSwitch(java.lang.String includeOption,
                                                   java.lang.String includeDir)

getDefineSwitch

public static void getDefineSwitch(java.lang.StringBuffer buffer,
                                   java.lang.String define,
                                   java.lang.String value)

getUndefineSwitch

public static void getUndefineSwitch(java.lang.StringBuffer buffer,
                                     java.lang.String define)

addWarningSwitch

public static void addWarningSwitch(java.util.Vector args,
                                    int level)

getEnvironmentPath

public static java.io.File[] getEnvironmentPath(java.lang.String toolName,
                                                char switchChar,
                                                java.lang.String[] defaultRelativePath)
This method extracts path information from the appropriate .cfg file in the install directory.
Parameters:
toolName - Tool name, for example, "bcc32", "brc32", "ilink32"
switchChar - Command line switch character, for example "L" for libraries
defaultRelativePaths - default paths relative to executable directory
Returns:
path

getOutputFileSwitch

public static java.lang.String[] getOutputFileSwitch(java.lang.String outFile)

getCommandFileSwitch

public static java.lang.String getCommandFileSwitch(java.lang.String cmdFile)

getLibraryPatterns

public static java.lang.String[] getLibraryPatterns(java.lang.String[] libnames)

isCaseSensitive

public static boolean isCaseSensitive()


Copyright © 2001-2002 Ant-Contrib project. All Rights Reserved.