Allows to use a {@link InputStream} as {@link ContentSource}. This is the most common case, that all the contents passed via the RESTful interface of the Stanbol Enhancer will be passed as {@link InputStream}.
@author Rupert Westenthaler
This class lets you create {@code InputStream}s that read data from a specific source. It could be used if you need to pass a stream as an argument to a method where the stream may need to be read multiple times. Instead of passing the stream directly, you pass a {@code StreamSource}instance that generates the stream. The receiver may call {@link #getStream()} multiple times, getting a fresh stream each time,so that there may be multiple, concurrent readers that don't interfere with each other.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.