Improved the Web service classes, needs to be tested

RESOLVED - #92 
http://bugs.koc.se/view.php?id=92
This commit is contained in:
Ziver Koc 2011-09-14 20:30:06 +00:00
parent 09b671bda7
commit a2b6be1f35
13 changed files with 401 additions and 817 deletions

View file

@ -55,6 +55,17 @@ public class StringOutputStream extends OutputStream{
buffer.append( new String(b, off, len) );
}
/**
* Same as {@link clear()}
*/
@Override
public void close() {
clear();
}
/**
* Clears the String buffer
*/
public void clear(){
buffer = new StringBuilder();
}