Lines Matching refs:buffer

47  * All formatting methods accept an optional buffer argument.
48 * If a buffer is passed in, the formatted element will be appended
49 * and the modified buffer is returned. If no buffer is passed in,
50 * a new buffer will be created and filled with the formatted element.
51 * In both cases, the caller is allowed to modify the returned buffer.
65 * @param buffer the buffer to append to, or
66 * <code>null</code> to create a new buffer
71 * @return a buffer with the formatted header elements.
72 * If the <code>buffer</code> argument was not <code>null</code>,
73 * that buffer will be used and returned.
75 CharArrayBuffer formatElements(CharArrayBuffer buffer,
84 * @param buffer the buffer to append to, or
85 * <code>null</code> to create a new buffer
90 * @return a buffer with the formatted header element.
91 * If the <code>buffer</code> argument was not <code>null</code>,
92 * that buffer will be used and returned.
94 CharArrayBuffer formatHeaderElement(CharArrayBuffer buffer,
106 * @param buffer the buffer to append to, or
107 * <code>null</code> to create a new buffer
112 * @return a buffer with the formatted parameters.
113 * If the <code>buffer</code> argument was not <code>null</code>,
114 * that buffer will be used and returned.
116 CharArrayBuffer formatParameters(CharArrayBuffer buffer,
125 * @param buffer the buffer to append to, or
126 * <code>null</code> to create a new buffer
131 * @return a buffer with the formatted name-value pair.
132 * If the <code>buffer</code> argument was not <code>null</code>,
133 * that buffer will be used and returned.
135 CharArrayBuffer formatNameValuePair(CharArrayBuffer buffer,