Class BasicInputDataSource

    • Constructor Detail

      • BasicInputDataSource

        public BasicInputDataSource​(InputStream inputStream)
        Construct a BasicInputDataSource that uses the given inputStream as its source.
        Parameters:
        inputStream - the input stream to use as the source for this input data source
    • Method Detail

      • getInputStream

        public InputStream getInputStream()
                                   throws IOException
        Description copied from interface: InputDataSource
        Returns an InputStream that will be used as the source to read data from.
        Specified by:
        getInputStream in interface InputDataSource
        Returns:
        an InputStream that is used as the source to read data from
        Throws:
        IOException - when an exception occurred while getting the InputStream