|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.antcontrib.cpptasks.openwatcom.OpenWatcomProcessor
public final class OpenWatcomProcessor
A add-in class for OpenWatcom processors.
Method Summary | |
---|---|
static void |
addWarningSwitch(Vector args,
int level)
Adds warning command line options. |
static String |
getCommandFileSwitch(String cmdFile)
Gets command line option to read from an option file. |
static void |
getDefineSwitch(StringBuffer buffer,
String define,
String value)
Creates a command line option to define a preprocessor macro. |
static String |
getIncludeDirSwitch(String includeDir)
Create a command line option to add a directory to the include path. |
static String[] |
getLibraryPatterns(String[] libnames,
LibraryTypeEnum libType)
Get file selectors for specified libraries. |
static String[] |
getOutputFileSwitch(String outPath)
Builds command line options to specify the output file names. |
static void |
getUndefineSwitch(StringBuffer buffer,
String define)
Builds a command line option to undefine a preprocessor macro. |
static boolean |
isCaseSensitive()
Gets whether processor tratement of file names is case-sensitive. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void addWarningSwitch(Vector args, int level)
args
- Vector list of optionslevel
- int value of WarningLevelEnumpublic static String getCommandFileSwitch(String cmdFile)
cmdFile
- String file name for option file
public static void getDefineSwitch(StringBuffer buffer, String define, String value)
buffer
- StringBuffer destination bufferdefine
- String parameter to definevalue
- String value, may be nullpublic static String getIncludeDirSwitch(String includeDir)
includeDir
- String directory
public static String[] getOutputFileSwitch(String outPath)
outPath
- String path to output file
public static String[] getLibraryPatterns(String[] libnames, LibraryTypeEnum libType)
libnames
- library nameslibType
- library type
public static void getUndefineSwitch(StringBuffer buffer, String define)
buffer
- StringBuffer destinationdefine
- String macro to be undefinedpublic static boolean isCaseSensitive()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |