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.
70 * @param buffer the buffer to append to, or
71 * <code>null</code> to create a new buffer
76 * @return a buffer with the formatted header elements.
77 * If the <code>buffer</code> argument was not <code>null</code>,
78 * that buffer will be used and returned.
80 CharArrayBuffer formatElements(CharArrayBuffer buffer,
89 * @param buffer the buffer to append to, or
90 * <code>null</code> to create a new buffer
95 * @return a buffer with the formatted header element.
96 * If the <code>buffer</code> argument was not <code>null</code>,
97 * that buffer will be used and returned.
99 CharArrayBuffer formatHeaderElement(CharArrayBuffer buffer,
111 * @param buffer the buffer to append to, or
112 * <code>null</code> to create a new buffer
117 * @return a buffer with the formatted parameters.
118 * If the <code>buffer</code> argument was not <code>null</code>,
119 * that buffer will be used and returned.
121 CharArrayBuffer formatParameters(CharArrayBuffer buffer,
130 * @param buffer the buffer to append to, or
131 * <code>null</code> to create a new buffer
136 * @return a buffer with the formatted name-value pair.
137 * If the <code>buffer</code> argument was not <code>null</code>,
138 * that buffer will be used and returned.
140 CharArrayBuffer formatNameValuePair(CharArrayBuffer buffer,