| java.lang.Object org.netbeans.MainImpl
MainImpl | final class MainImpl extends Object (Code) | | Bootstrap main class.
author: Jaroslav Tulach, Jesse Glick |
execute | static int execute(String[] args, java.io.InputStream reader, java.io.OutputStream writer, java.io.OutputStream error, java.lang.reflect.Method[] methodToCall) throws Exception(Code) | | Constructs the correct ClassLoader, finds main method to execute
and invokes all registered CLIHandlers.
Parameters: args - the arguments to pass to the handlers Parameters: reader - the input stream reader for the handlers Parameters: writer - the output stream for the handlers Parameters: methodToCall - null or array with one item that will be set toa method that shall be executed as the main application |
finishInitialization | public static void finishInitialization()(Code) | | Call when the system is up and running, to complete handling of
delayed command-line options like -open FILE.
|
main | public static void main(String args) throws Exception(Code) | | Starts the IDE.
Parameters: args - the command line arguments throws: Exception - for lots of reasons |
usage | public static String usage() throws Exception(Code) | | Returns string describing usage of the system. Does that by talking to
all registered handlers and asking them to show their usage.
the usage string for the system |
|
|