public interface UncheckedAppendable
extends java.lang.Appendable
Appendable
that throws UncheckedIOException
instead of IOException
.Appendable
,
IOException
,
UncheckedIOException
Modifier and Type | Method and Description |
---|---|
UncheckedAppendable |
append(char c)
Appends per
Appendable.append(char) but rethrows IOException as UncheckedIOException . |
UncheckedAppendable |
append(java.lang.CharSequence csq)
Appends per
Appendable.append(CharSequence) but rethrows IOException as UncheckedIOException . |
UncheckedAppendable |
append(java.lang.CharSequence csq,
int start,
int end)
Appends per
Appendable.append(CharSequence, int, int) but rethrows IOException as
UncheckedIOException . |
static UncheckedAppendable |
on(java.lang.Appendable appendable)
Creates a new instance on the given Appendable.
|
static UncheckedAppendable on(java.lang.Appendable appendable)
appendable
- The Appendable to uncheck.UncheckedAppendable append(char c)
Appendable.append(char)
but rethrows IOException
as UncheckedIOException
.append
in interface java.lang.Appendable
UncheckedAppendable append(java.lang.CharSequence csq)
Appendable.append(CharSequence)
but rethrows IOException
as UncheckedIOException
.append
in interface java.lang.Appendable
UncheckedAppendable append(java.lang.CharSequence csq, int start, int end)
Appendable.append(CharSequence, int, int)
but rethrows IOException
as
UncheckedIOException
.append
in interface java.lang.Appendable
Copyright © 2010 - 2023 Adobe. All Rights Reserved