class KJavaProcess
|
A class for invoking a Java VM. More... |
|
|
Public Methods
Signals
Protected Methods
Protected Slots
Protected Members
Detailed Description
This class is a general tool for invoking a Java interpreter. It allows you
to specifiy some of the standard options that should be understood by all
JVMs, and in future will also ensure that QtAWT is used instead of the system
default toolkit.
Create a process object, the process is NOT invoked at this point.
[virtual]
Invoke the JVM.
Stop the JVM (if it's running).
void setJVMPath ( const QString& path )
|
Used to specify the location of the JVM.
void setJVMVersion ( int major, int minor = 0, int patch = 0 )
|
Used to decide the parameter names for JVM stack size etc.
void setHTTPProxy ( const QString& host, int port )
|
The HTTP proxy.
void setFTPProxy ( const QString& host, int port )
|
The FTP proxy.
Set system properties by adding -D<I>name</I>=<I>value</I> to
the java command line.
void setMainClass ( const QString& clazzName )
|
The class to be called when startJava() is called.
void setExtraArgs ( const QString& args )
|
Extra flags passed to the JVM.
void setClassArgs ( const QString& classArgs )
|
Arguments passed to the main class.
void send ( const QString& command )
|
Send a string to the standard input (System.in) of the JVM.
[protected slot]
[protected slot]
void receivedData ( KProcess *, char *, int )
|
[protected slot]
[protected slot]
[protected virtual]
[protected virtual]
[protected]
[signal]
- Version: $Id: kjavaprocess.h,v 1.6 2000/06/06 22:53:36 gehrmab Exp $
- Author: Richard J. Moore, rich@kde.org
- Generated: prospector@porky.devel.redhat.com on Thu Aug 24 05:36:25 2000, using kdoc 2.0a36.