Package com.helger.commons.io.provider
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 retrieveInputStreamobjects from a given name.- Author:
- Philip Helger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStreamgetInputStream(String sName)Get the input stream from the given name.
-
-
-
Method Detail
-
getInputStream
@Nullable InputStream getInputStream(@Nonnull String sName)
Get the input stream from the given name.- Parameters:
sName- The name to be resolved. May not benull.- Returns:
nullif resolving failed.
-
-