-
- Enclosing class:
- Resource
- 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 static interface Resource.ResourceOpener
For retrieving resource contents.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InputStream
open()
Opens resource for reading.
-
-
-
Method Detail
-
open
InputStream open() throws IOException
Opens resource for reading.- Returns:
- resource bytes
- Throws:
IOException
- on error
-
-