Interface UncheckedAppendable

  • All Superinterfaces:
    java.lang.Appendable

    public interface UncheckedAppendable
    extends java.lang.Appendable
    An Appendable that throws UncheckedIOException instead of IOException.
    Since:
    2.12.0
    See Also:
    Appendable, IOException, UncheckedIOException
    • 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 per Appendable.append(char) but rethrows IOException as UncheckedIOException.
        Specified by:
        append in interface java.lang.Appendable
      • append

        UncheckedAppendable append​(java.lang.CharSequence csq)
        Appends per Appendable.append(CharSequence) but rethrows IOException as UncheckedIOException.
        Specified by:
        append in interface java.lang.Appendable
      • append

        UncheckedAppendable append​(java.lang.CharSequence csq,
                                   int start,
                                   int end)
        Appends per Appendable.append(CharSequence, int, int) but rethrows IOException as UncheckedIOException.
        Specified by:
        append in interface java.lang.Appendable