|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.antcontrib.cpptasks.openwatcom.OpenWatcomProcessor
public final class OpenWatcomProcessor
A add-in class for OpenWatcom processors.
Method Summary | |
---|---|
static void |
addWarningSwitch(java.util.Vector args,
int level)
Adds warning command line options. |
static java.lang.String |
getCommandFileSwitch(java.lang.String cmdFile)
Gets command line option to read from an option file. |
static void |
getDefineSwitch(java.lang.StringBuffer buffer,
java.lang.String define,
java.lang.String value)
Creates a command line option to define a preprocessor macro. |
static java.lang.String |
getIncludeDirSwitch(java.lang.String includeDir)
Create a command line option to add a directory to the include path. |
static java.lang.String[] |
getLibraryPatterns(java.lang.String[] libnames,
LibraryTypeEnum libType)
Get file selectors for specified libraries. |
static java.lang.String[] |
getOutputFileSwitch(java.lang.String outPath)
Builds command line options to specify the output file names. |
static void |
getUndefineSwitch(java.lang.StringBuffer buffer,
java.lang.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(java.util.Vector args, int level)
args
- Vector list of optionslevel
- int value of WarningLevelEnumpublic static java.lang.String getCommandFileSwitch(java.lang.String cmdFile)
cmdFile
- String file name for option file
public static void getDefineSwitch(java.lang.StringBuffer buffer, java.lang.String define, java.lang.String value)
buffer
- StringBuffer destination bufferdefine
- String parameter to definevalue
- String value, may be nullpublic static java.lang.String getIncludeDirSwitch(java.lang.String includeDir)
includeDir
- String directory
public static java.lang.String[] getOutputFileSwitch(java.lang.String outPath)
outPath
- String path to output file
public static java.lang.String[] getLibraryPatterns(java.lang.String[] libnames, LibraryTypeEnum libType)
libnames
- library nameslibType
- library type
public static void getUndefineSwitch(java.lang.StringBuffer buffer, java.lang.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 |