open resource:/
Brought to you by:
mdejong
This patch adds a ResourceChannel and patches OpenCmd
to open a resource if the file begins with "resource:/".
The 'source' command already can source a Tcl file in a
jar; this patch allows other file resources to also be
included in a jar.
ResourceChannel only supports files opened for read only.
ResourceChannel was heavily edited from existing FileChannel class.
open resource:/ patch