Package com.networknt.schema.resource
Interface InputStreamSource
-
- 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 InputStreamSource
InputStream source.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
getInputStream()
Opens a new inputstream to the resource.
-
-
-
Method Detail
-
getInputStream
InputStream getInputStream() throws IOException
Opens a new inputstream to the resource.- Returns:
- a new inputstream
- Throws:
IOException
- if an I/O error occurs
-
-