<p>An actor that reads a String input token naming a URL and outputs an
Object Token that contains a java.awt.Image</p>
<p>It is possible to load a file
from the local file system by using the prefix "file://" instead of
"http://". Relative file paths are allowed. To specify a file
relative to the current directory, use "../" or "./". For example,
if the current directory contains a file called "test.jpg", then
<i>sourceURL</i> should be set to "file:./test.jpg". If the parent
directory contains a file called "test.jpg", then <i>sourceURL</i>
should be set to "file:../test.jpg". To reference the file
test.jpg, located at "/tmp/test.jpg", <i>sourceURL</i>
should be set to "file:///tmp/test.jpg" The default value is
"file:///tmp/test.jpg".</p>
Christopher Hylands
$Id: URLToImage.java 70398 2014-10-22 23:44:32Z cxh $
Ptolemy II 3.0
Red (cxh)
Red (cxh)