Class UncheckedFilterReader.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • get

        public UncheckedFilterReader get()
        Constructs a new instance.

        This builder use the aspects Reader and Charset.

        You must provide an origin that can be converted to a Reader by this builder, otherwise, this call will throw an UnsupportedOperationException.

        Returns:
        a new instance.
        Throws:
        java.lang.UnsupportedOperationException - if the origin cannot provide a Reader.
        java.lang.IllegalStateException - if the origin is null.
        See Also:
        AbstractOrigin.getReader(Charset)