Lines Matching refs:size
41 * <code>size</code> specified. Unless <code>flush</code> is called, it guarantees that
42 * data in chunks of size equal to or more than <code>size</code> specified will be written.
53 private int size ;
54 //keep the size of internal buffer more than 'size' required to avoid resizing
70 * <code>size</code> specified.
72 public XMLWriter(Writer writer, int size){
74 this.size = size;
119 //optimization: if data size to be written is more than the 'size' specified,
121 if(len > size){
153 //optimization: if data size to be written is more than the 'size' specified,
155 if(str.length() > size){
205 this.size = THRESHHOLD_LENGTH;
216 this.size = THRESHHOLD_LENGTH;
222 * @param int Writer will buffer the character data size, after that data is written to stream.
224 public void setWriter(Writer writer, int size){
226 this.size = size;
236 /** write the buffer data, if the buffer size has increased the size specified
239 if(buffer.length > size){
241 System.out.println("internal buffer length " + buffer.length + " increased size limit : " + size);