Class InputStreamStringBuilderImpl

    • Constructor Detail

      • InputStreamStringBuilderImpl

        public InputStreamStringBuilderImpl​()
    • Method Detail

      • getEncoding

        public java.lang.String getEncoding​()
        Specified by:
        getEncoding in interface org.refcodes.mixin.EncodingAccessor
      • setEncoding

        public void setEncoding​(java.lang.String aEncoding)
        Specified by:
        setEncoding in interface org.refcodes.mixin.EncodingAccessor.EncodingMutator
      • getInputStream

        public java.io.InputStream getInputStream​()
        Retrieves the InputStream from the Input-Stream property.
        Specified by:
        getInputStream in interface InputStreamAccessor
        Returns:
        The InputStream stored by the Input-Stream property.
      • setInputStream

        public void setInputStream​(java.io.InputStream aInputStream)
        Sets the InputStream for the Input-Stream property.
        Specified by:
        setInputStream in interface InputStreamAccessor.InputStreamMutator
        Parameters:
        aInputStream - The InputStream to be stored by the Input-Stream property.
      • toString

        public java.lang.String toString​(java.io.InputStream aInputStream,
                                         java.lang.String aEncoding)
                                  throws java.io.IOException
        The String being build by the builder upon the settings of the attributes.
        Specified by:
        toString in interface InputStreamStringBuilder
        Parameters:
        aInputStream - The InputStream which to convert into a String.
        aEncoding - The text encoding to be used.
        Returns:
        The according resulting String
        Throws:
        java.io.IOException - thrown in case accessing the InputStream caused faults.
      • toString

        public java.lang.String toString​()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(java.lang.String aEncoding)
                                  throws java.io.IOException
        The Strings being build by the builder upon the settings of the attributes.
        Specified by:
        toString in interface InputStreamStringBuilder
        Parameters:
        aEncoding - The text encoding to be used.
        Returns:
        The according resulting String array
        Throws:
        java.io.IOException - thrown in case accessing the InputStream caused faults.
      • toStrings

        public java.lang.String[] toStrings​()
                                     throws java.io.IOException
        The Strings being build by the builder upon the settings of the attributes.
        Specified by:
        toStrings in interface InputStreamStringBuilder
        Returns:
        The according resulting String array
        Throws:
        java.io.IOException - thrown in case accessing the InputStream caused faults.