class KJavaProcess
|
A class for invoking a Java VM. More... |
|
|
Public Methods
Signals
- void received ( const QString & )
Protected Methods
- virtual void invokeJVM ()
- virtual void killJVM ()
Protected Slots
- void wroteData ()
- void processExited ()
- void receivedData ( KProcess *, char *, int )
- void javaHasDied ()
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.
<H3>Change Log</H3>
$Log: kjavaprocess.h,v $
Revision 1.4 1999/12/14 19:56:59 rich
Many fixes, see changelog
Revision 1.3 1999/11/12 01:22:34 rich
Now trys adding a / to the code base if the class loader could not find the applet class file. Fixed applet start/stop
Revision 1.2 1999/10/09 18:10:53 rich
Const QString fixes
Revision 1.1.1.1 1999/07/22 17:28:07 rich
This is a current snapshot of my work on adding Java support
to KDE. Applets now work!
Create a process object, the process is NOT invoked at this point.
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.
- Version: $Id: kjavaprocess.h,v 1.4 1999/12/14 19:56:59 rich Exp $
- Author: Richard J. Moore, rich@kde.org
- Generated: root@tantive.terraplex.com on Sun Feb 27 17:39:39 2000, using kdoc 2.0a33.