com.lightdev.app.trec.client.stub
Class ClientStubWriter
java.lang.Object
java.io.Writer
java.io.BufferedWriter
com.lightdev.app.trec.client.stub.StubWriter
com.lightdev.app.trec.client.stub.ClientStubWriter
- All Implemented Interfaces:
- Closeable, Flushable, Appendable
public class ClientStubWriter
- extends StubWriter
ClientStubWriter creates the Java source code of a client class a TREC client
application can use to call methods of a remote class as if they were part of
the client application.
- Version:
- 2, 23.01.2006
- Author:
- Ulrich Hilger, Light Development, http://www.lightdev.com, info@lightdev.com, published under the terms and conditions of the BSD License,
for details see file license.txt in the distribution package of this software
|
Method Summary |
void |
generateStub(org.apache.bcel.classfile.JavaClass jc)
generate ava source code of a client stub for a given class |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClientStubWriter
public ClientStubWriter(Writer out)
- create a new instance of a ClientStubWriter object
- Parameters:
out - the writer to write to
ClientStubWriter
public ClientStubWriter(Writer out,
int sz)
- create a new instance of a ClientStubWriter object
- Parameters:
out - the writer to write tosz - the buffer size
generateStub
public void generateStub(org.apache.bcel.classfile.JavaClass jc)
throws IOException
- generate ava source code of a client stub for a given class
- Parameters:
jc - the class to write a client stub for
- Throws:
IOException