Interface OutputStreamAccessor.OutputStreamBuilder<B extends OutputStreamAccessor.OutputStreamBuilder<?>>

  • Type Parameters:
    B - The builder which implements the OutputStreamAccessor.OutputStreamBuilder.
    Enclosing interface:
    OutputStreamAccessor


    public static interface OutputStreamAccessor.OutputStreamBuilder<B extends OutputStreamAccessor.OutputStreamBuilder<?>>
    Provides a mutator for an output stream property.
    • Method Detail

      • withOutputStream

        B withOutputStream​(OutputStream aOutputStream)
        Sets the output stream to use and returns this builder as of the Builder-Pattern.
        Parameters:
        aOutputStream - The output stream to be stored by the output stream property.
        Returns:
        This OutputStreamAccessor.OutputStreamBuilder instance to continue configuration.