Create a new input source with the specified stream.

Application writers should use system_id= to provide a base for resolving relative URIs, may use public_id= to include a public identifier, and may use encoding= to specify the object's character encoding.

Property definitions

sax $ InputSource :: with_stream
	# Create a new input source with the specified stream.
	#
	# Application writers should use `system_id=` to provide a base for
	# resolving relative URIs, may use `public_id=` to include a public
	# identifier, and may use `encoding=` to specify the object's character
	# encoding.
	init with_stream(stream: Reader) do
		self.stream = stream
	end
lib/sax/input_source.nit:55,2--63,4