@@ -171,7 +171,7 @@ private static OutputStreamWriter initWriter(final File file, final Object encod
171171 * @param charset the encoding to use, not null
172172 * @throws NullPointerException if the file or encoding is null
173173 * @throws IOException in case of an I/O error
174- * @deprecated Use {@link #builder()}
174+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
175175 */
176176 @ Deprecated
177177 public FileWriterWithEncoding (final File file , final Charset charset ) throws IOException {
@@ -186,7 +186,7 @@ public FileWriterWithEncoding(final File file, final Charset charset) throws IOE
186186 * @param append true if content should be appended, false to overwrite.
187187 * @throws NullPointerException if the file is null.
188188 * @throws IOException in case of an I/O error.
189- * @deprecated Use {@link #builder()}
189+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
190190 */
191191 @ Deprecated
192192 @ SuppressWarnings ("resource" ) // Call site is responsible for closing a new instance.
@@ -201,7 +201,7 @@ public FileWriterWithEncoding(final File file, final Charset encoding, final boo
201201 * @param charsetEncoder the encoding to use, not null
202202 * @throws NullPointerException if the file or encoding is null
203203 * @throws IOException in case of an I/O error
204- * @deprecated Use {@link #builder()}
204+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
205205 */
206206 @ Deprecated
207207 public FileWriterWithEncoding (final File file , final CharsetEncoder charsetEncoder ) throws IOException {
@@ -216,7 +216,7 @@ public FileWriterWithEncoding(final File file, final CharsetEncoder charsetEncod
216216 * @param append true if content should be appended, false to overwrite.
217217 * @throws NullPointerException if the file is null.
218218 * @throws IOException in case of an I/O error.
219- * @deprecated Use {@link #builder()}
219+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
220220 */
221221 @ Deprecated
222222 @ SuppressWarnings ("resource" ) // Call site is responsible for closing a new instance.
@@ -231,7 +231,7 @@ public FileWriterWithEncoding(final File file, final CharsetEncoder charsetEncod
231231 * @param charsetName the name of the requested charset, not null
232232 * @throws NullPointerException if the file or encoding is null
233233 * @throws IOException in case of an I/O error
234- * @deprecated Use {@link #builder()}
234+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
235235 */
236236 @ Deprecated
237237 public FileWriterWithEncoding (final File file , final String charsetName ) throws IOException {
@@ -246,7 +246,7 @@ public FileWriterWithEncoding(final File file, final String charsetName) throws
246246 * @param append true if content should be appended, false to overwrite.
247247 * @throws NullPointerException if the file is null.
248248 * @throws IOException in case of an I/O error.
249- * @deprecated Use {@link #builder()}
249+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
250250 */
251251 @ Deprecated
252252 @ SuppressWarnings ("resource" ) // Call site is responsible for closing a new instance.
@@ -265,7 +265,7 @@ private FileWriterWithEncoding(final OutputStreamWriter outputStreamWriter) {
265265 * @param charset the charset to use, not null
266266 * @throws NullPointerException if the file name or encoding is null
267267 * @throws IOException in case of an I/O error
268- * @deprecated Use {@link #builder()}
268+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
269269 */
270270 @ Deprecated
271271 public FileWriterWithEncoding (final String fileName , final Charset charset ) throws IOException {
@@ -280,7 +280,7 @@ public FileWriterWithEncoding(final String fileName, final Charset charset) thro
280280 * @param append true if content should be appended, false to overwrite
281281 * @throws NullPointerException if the file name or encoding is null
282282 * @throws IOException in case of an I/O error
283- * @deprecated Use {@link #builder()}
283+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
284284 */
285285 @ Deprecated
286286 public FileWriterWithEncoding (final String fileName , final Charset charset , final boolean append ) throws IOException {
@@ -294,7 +294,7 @@ public FileWriterWithEncoding(final String fileName, final Charset charset, fina
294294 * @param encoding the encoding to use, not null
295295 * @throws NullPointerException if the file name or encoding is null
296296 * @throws IOException in case of an I/O error
297- * @deprecated Use {@link #builder()}
297+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
298298 */
299299 @ Deprecated
300300 public FileWriterWithEncoding (final String fileName , final CharsetEncoder encoding ) throws IOException {
@@ -309,7 +309,7 @@ public FileWriterWithEncoding(final String fileName, final CharsetEncoder encodi
309309 * @param append true if content should be appended, false to overwrite
310310 * @throws NullPointerException if the file name or encoding is null
311311 * @throws IOException in case of an I/O error
312- * @deprecated Use {@link #builder()}
312+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
313313 */
314314 @ Deprecated
315315 public FileWriterWithEncoding (final String fileName , final CharsetEncoder charsetEncoder , final boolean append ) throws IOException {
@@ -323,7 +323,7 @@ public FileWriterWithEncoding(final String fileName, final CharsetEncoder charse
323323 * @param charsetName the name of the requested charset, not null
324324 * @throws NullPointerException if the file name or encoding is null
325325 * @throws IOException in case of an I/O error
326- * @deprecated Use {@link #builder()}
326+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
327327 */
328328 @ Deprecated
329329 public FileWriterWithEncoding (final String fileName , final String charsetName ) throws IOException {
@@ -338,7 +338,7 @@ public FileWriterWithEncoding(final String fileName, final String charsetName) t
338338 * @param append true if content should be appended, false to overwrite
339339 * @throws NullPointerException if the file name or encoding is null
340340 * @throws IOException in case of an I/O error
341- * @deprecated Use {@link #builder()}
341+ * @deprecated Use {@link #builder()} and {@link Builder#get()}
342342 */
343343 @ Deprecated
344344 public FileWriterWithEncoding (final String fileName , final String charsetName , final boolean append ) throws IOException {
0 commit comments