Interface FileContentProvider
-
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@API @FunctionalInterface public interface FileContentProviderProvides file content.- Since:
- 2021.2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileContentgetContent(Context ctx, java.util.Map<java.lang.String,java.lang.String> params)Returns an input stream providing file content.
-
-
-
Method Detail
-
getContent
FileContent getContent(Context ctx, java.util.Map<java.lang.String,java.lang.String> params) throws java.io.IOException
Returns an input stream providing file content.- Parameters:
ctx- Current contextparams- Configuration parameters- Returns:
- Input stream
- Throws:
java.io.IOException
-
-