Interface Mapper<T>

    • Method Detail

      • apply

        T apply​(InputStream input)
         throws IOException
        Applies this Mapper into the given input.

        Note: The input stream must be closed by the caller after the mapping operation.

        Parameters:
        input - the input stream to be mapped
        Returns:
        the mapped object
        Throws:
        IOException - if a low-level I/O problem (such and unexpected end-of-input, or network error) occurs