Package org.apache.commons.io.output
Interface UncheckedAppendable
-
- All Superinterfaces:
java.lang.Appendable
public interface UncheckedAppendable extends java.lang.Appendable
AnAppendable
that throwsUncheckedIOException
instead ofIOException
.- Since:
- 2.12.0
- See Also:
Appendable
,IOException
,UncheckedIOException
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description UncheckedAppendable
append(char c)
Appends perAppendable.append(char)
but rethrowsIOException
asUncheckedIOException
.UncheckedAppendable
append(java.lang.CharSequence csq)
Appends perAppendable.append(CharSequence)
but rethrowsIOException
asUncheckedIOException
.UncheckedAppendable
append(java.lang.CharSequence csq, int start, int end)
Appends perAppendable.append(CharSequence, int, int)
but rethrowsIOException
asUncheckedIOException
.static UncheckedAppendable
on(java.lang.Appendable appendable)
Creates a new instance on the given Appendable.
-
-
-
Method Detail
-
on
static UncheckedAppendable on(java.lang.Appendable appendable)
Creates a new instance on the given Appendable.- Parameters:
appendable
- The Appendable to uncheck.- Returns:
- a new instance.
-
append
UncheckedAppendable append(char c)
Appends perAppendable.append(char)
but rethrowsIOException
asUncheckedIOException
.- Specified by:
append
in interfacejava.lang.Appendable
-
append
UncheckedAppendable append(java.lang.CharSequence csq)
Appends perAppendable.append(CharSequence)
but rethrowsIOException
asUncheckedIOException
.- Specified by:
append
in interfacejava.lang.Appendable
-
append
UncheckedAppendable append(java.lang.CharSequence csq, int start, int end)
Appends perAppendable.append(CharSequence, int, int)
but rethrowsIOException
asUncheckedIOException
.- Specified by:
append
in interfacejava.lang.Appendable
-
-