Class BasicInputDataSource

    • Constructor Detail

      • BasicInputDataSource

        public BasicInputDataSource​(InputStream inputStream)
        Construct a BasicInputDataSource that uses the given inputStream as its source.
        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
        an InputStream that is used as the source to read data from
        IOException - when an exception occurred while getting the InputStream