diff --git a/src/helma/framework/ResponseTrans.java b/src/helma/framework/ResponseTrans.java index 8be39fde..e1261503 100644 --- a/src/helma/framework/ResponseTrans.java +++ b/src/helma/framework/ResponseTrans.java @@ -165,6 +165,15 @@ public class ResponseTrans implements Externalizable { buffer.append ("
\r\n"); } + /** + * Append a part from a char array to the response buffer. + */ + public void writeCharArray (char[] c, int start, int length) { + if (buffer == null) + buffer = new StringBuffer (512); + buffer.append (c, start, length); + } + /** * Replace special characters with entities, including <, > and ", thus allowing * no HTML tags.