openjava.ojc
Class CommandArguments
java.lang.Object
|
+--openjava.ojc.CommandArguments
- public class CommandArguments
- extends Object
Represents the argument list passed to a Java compiler.
- Since:
- %SOFTWARE% 1.0
- Version:
- 1.0
- Author:
- Michiaki Tatsubori
- See Also:
JavaCompiler
,
JavaCompilerArgs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG_VERBOSE
public static final int DEBUG_VERBOSE
- See Also:
- Constant Field Values
DEBUG_CALLER
public static final int DEBUG_CALLER
- See Also:
- Constant Field Values
originalArgs
private final String[] originalArgs
options
private Hashtable options
files
private File[] files
CommandArguments
public CommandArguments(String[] args)
throws IOException
getFiles
public File[] getFiles()
initFiles
public File[] initFiles()
isOption
private static boolean isOption(String arg)
countUpOptions
private static int countUpOptions(String[] args)
registerOption
public void registerOption(String str)
optionKind
private static String optionKind(String str)
optionValue
private static String optionValue(String str)
getOption
public String getOption(String option_name)
getOptions
public String[] getOptions(String option_name)
getOption
public String getOption(String opt1,
String opt2)
getDebugLevel
public int getDebugLevel()
getJavaCompiler
public JavaCompiler getJavaCompiler()
throws ClassNotFoundException,
InstantiationException,
IllegalAccessException
ClassNotFoundException
InstantiationException
IllegalAccessException
callerTranslation
public boolean callerTranslation()
qualifyNameFirst
public boolean qualifyNameFirst()
checkArguments
private void checkArguments()
throws IOException
IOException