62 * @exception IOException If an I/O error occurs
63 */
64 public void write(int c) throws IOException {
65 out.write(c);
66 }
67
68 /**
69 * Writes a portion of an array of characters.
70 *
71 * @param cbuf Buffer of characters to be written
72 * @param off Offset from which to start reading characters
73 * @param len Number of characters to be written
74 *
75 * @throws IndexOutOfBoundsException
76 * If the values of the {@code off} and {@code len} parameters
77 * cause the corresponding method of the underlying {@code Writer}
78 * to throw an {@code IndexOutOfBoundsException}
79 *
80 * @throws IOException If an I/O error occurs
81 */
82 public void write(char cbuf[], int off, int len) throws IOException {
83 out.write(cbuf, off, len);
84 }
85
86 /**
87 * Writes a portion of a string.
88 *
89 * @param str String to be written
90 * @param off Offset from which to start reading characters
91 * @param len Number of characters to be written
92 *
93 * @throws IndexOutOfBoundsException
94 * If the values of the {@code off} and {@code len} parameters
95 * cause the corresponding method of the underlying {@code Writer}
96 * to throw an {@code IndexOutOfBoundsException}
97 *
98 * @throws IOException If an I/O error occurs
99 */
100 public void write(String str, int off, int len) throws IOException {
101 out.write(str, off, len);
102 }
|
62 * @exception IOException If an I/O error occurs
63 */
64 public void write(int c) throws IOException {
65 out.write(c);
66 }
67
68 /**
69 * Writes a portion of an array of characters.
70 *
71 * @param cbuf Buffer of characters to be written
72 * @param off Offset from which to start reading characters
73 * @param len Number of characters to be written
74 *
75 * @throws IndexOutOfBoundsException
76 * If the values of the {@code off} and {@code len} parameters
77 * cause the corresponding method of the underlying {@code Writer}
78 * to throw an {@code IndexOutOfBoundsException}
79 *
80 * @throws IOException If an I/O error occurs
81 */
82 public void write(char[] cbuf, int off, int len) throws IOException {
83 out.write(cbuf, off, len);
84 }
85
86 /**
87 * Writes a portion of a string.
88 *
89 * @param str String to be written
90 * @param off Offset from which to start reading characters
91 * @param len Number of characters to be written
92 *
93 * @throws IndexOutOfBoundsException
94 * If the values of the {@code off} and {@code len} parameters
95 * cause the corresponding method of the underlying {@code Writer}
96 * to throw an {@code IndexOutOfBoundsException}
97 *
98 * @throws IOException If an I/O error occurs
99 */
100 public void write(String str, int off, int len) throws IOException {
101 out.write(str, off, len);
102 }
|