Interface ResourceStreamProvider
-
- All Known Subinterfaces:
IoResource<T>
- All Known Implementing Classes:
AbstractIoResource
,ClassLoaderResource
,PathResource
,URIResource
,URLResource
- 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 ResourceStreamProvider
- Author:
- Apache MINA SSHD Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
openInputStream()
-
-
-
Method Detail
-
openInputStream
InputStream openInputStream() throws IOException
- Returns:
- an
InputStream
for the resource's data - Throws:
IOException
- If failed to open the stream
-
-