Code example for InputSource

Methods: setByteStream, setEncoding