Appends a subsequence of the specified character sequence to this writer.
{@code Appendable}.
<p> An invocation of this method of the form
{@code out.append(csq, start, end)} when {@code csq}
is not {@code null} behaves in exactly the
same way as the invocation
@param csq
The character sequence from which a subsequence will be
appended. If {@code csq} is {@code null}, then characters
will be appended as if {@code csq} contained the four
characters {@code "null"}.
@param start
The index of the first character in the subsequence
@param end
The index of the character following the last character in the
subsequence
@return This writer
@throws IndexOutOfBoundsException
If {@code start} or {@code end} are negative, {@code start}
is greater than {@code end}, or {@code end} is greater than
{@code csq.length()}
Appends a subsequence of the specified character sequence to this writer. {@code Appendable}.
<p> An invocation of this method of the form {@code out.append(csq, start, end)} when {@code csq} is not {@code null} behaves in exactly the same way as the invocation
<pre>{@code out.write(csq.subSequence(start, end).toString()) }</pre>
@param csq The character sequence from which a subsequence will be appended. If {@code csq} is {@code null}, then characters will be appended as if {@code csq} contained the four characters {@code "null"}.
@param start The index of the first character in the subsequence
@param end The index of the character following the last character in the subsequence
@return This writer
@throws IndexOutOfBoundsException If {@code start} or {@code end} are negative, {@code start} is greater than {@code end}, or {@code end} is greater than {@code csq.length()}
@throws IOException If an I/O error occurs