implemented writeCharArray() method
This commit is contained in:
parent
db9fab2c8c
commit
b457ca8a88
1 changed files with 9 additions and 0 deletions
|
@ -165,6 +165,15 @@ public class ResponseTrans implements Externalizable {
|
|||
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
|
||||
* no HTML tags.
|
||||
|
|
Loading…
Add table
Reference in a new issue