implemented writeCharArray() method

This commit is contained in:
hns 2002-05-15 17:16:38 +00:00
parent db9fab2c8c
commit b457ca8a88

View file

@ -165,6 +165,15 @@ public class ResponseTrans implements Externalizable {
buffer.append ("<br>\r\n"); buffer.append ("<br>\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 * Replace special characters with entities, including <, > and ", thus allowing
* no HTML tags. * no HTML tags.