Changed HttpPrintStream to use a internal stream instead of extending one
This commit is contained in:
parent
a199165756
commit
1684c86a60
13 changed files with 130 additions and 119 deletions
|
|
@ -34,10 +34,7 @@ import zutil.net.ws.WSReturnObject;
|
|||
import zutil.net.ws.WSReturnObject.WSValueName;
|
||||
import zutil.net.ws.WebServiceDef;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.OutputStream;
|
||||
import java.io.PrintStream;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.io.*;
|
||||
import java.lang.reflect.Field;
|
||||
import java.util.ArrayList;
|
||||
|
||||
|
|
@ -62,10 +59,13 @@ public class WSDLWriter{
|
|||
services.add(serv);
|
||||
}
|
||||
|
||||
|
||||
public void write( Writer out ) throws IOException {
|
||||
out.write(generate());
|
||||
}
|
||||
public void write( PrintStream out ) {
|
||||
out.print(generate());
|
||||
}
|
||||
|
||||
public void write( OutputStream out ) throws IOException {
|
||||
out.write(generate().getBytes() );
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue