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 FileContentProvider
    Provides file content.
    Since:
    2021.2.0
    • 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 context
        params - Configuration parameters
        Returns:
        Input stream
        Throws:
        java.io.IOException