Package org.apache.commons.io.output
Interface UncheckedAppendable
-
- All Superinterfaces:
java.lang.Appendable
public interface UncheckedAppendable extends java.lang.AppendableAnAppendablethat throwsUncheckedIOExceptioninstead 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 UncheckedAppendableappend(char c)Appends perAppendable.append(char)but rethrowsIOExceptionasUncheckedIOException.UncheckedAppendableappend(java.lang.CharSequence csq)Appends perAppendable.append(CharSequence)but rethrowsIOExceptionasUncheckedIOException.UncheckedAppendableappend(java.lang.CharSequence csq, int start, int end)Appends perAppendable.append(CharSequence, int, int)but rethrowsIOExceptionasUncheckedIOException.static UncheckedAppendableon(java.lang.Appendable appendable)Constructs a new instance on the given Appendable.
-
-
-
Method Detail
-
on
static UncheckedAppendable on(java.lang.Appendable appendable)
Constructs 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 rethrowsIOExceptionasUncheckedIOException.- Specified by:
appendin interfacejava.lang.Appendable
-
append
UncheckedAppendable append(java.lang.CharSequence csq)
Appends perAppendable.append(CharSequence)but rethrowsIOExceptionasUncheckedIOException.- Specified by:
appendin interfacejava.lang.Appendable
-
append
UncheckedAppendable append(java.lang.CharSequence csq, int start, int end)
Appends perAppendable.append(CharSequence, int, int)but rethrowsIOExceptionasUncheckedIOException.- Specified by:
appendin interfacejava.lang.Appendable
-
-