Interface IInputStreamProvider

All Known Implementing Classes:
FileSystemByteStreamProvider, FileSystemCharStreamProvider
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 IInputStreamProvider
A callback interface to retrieve InputStream objects from a given name.
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the input stream from the given name.
  • Method Details

    • getInputStream

      @Nullable InputStream getInputStream(@Nonnull String sName)
      Get the input stream from the given name.
      Parameters:
      sName - The name to be resolved. May not be null.
      Returns:
      null if resolving failed.