Interface InputStreamProvider

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface InputStreamProvider
Functional interface for providing input streams. Used to abstract stream creation and allow lazy initialization or custom stream sources.
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates and returns an input stream.
  • Method Details

    • getStream

      InputStream getStream() throws IOException
      Creates and returns an input stream.
      Returns:
      input stream instance
      Throws:
      IOException - if stream creation fails