Class IoCheckedText

  • All Implemented Interfaces:
    Text

    public final class IoCheckedText
    extends Object
    implements Text
    Text that doesn't throw checked Exception, but only throws IOException.

    There is no thread-safety guarantee.

    Since:
    0.51
    • Constructor Detail

      • IoCheckedText

        public IoCheckedText​(CharSequence txt)
        Ctor.
        Parameters:
        txt - Encapsulated text
        Since:
        0.9
      • IoCheckedText

        public IoCheckedText​(Text txt)
        Ctor.
        Parameters:
        txt - Encapsulated text
      • IoCheckedText

        public IoCheckedText​(Text txt,
                             Func<Exception,​String> fbk)
        Ctor.
        Parameters:
        txt - Encapsulated text
        fbk - Fallback func if Exception happens
        Since:
        0.5