public class URLReader
extends java.io.InputStreamReader
Constructor and Description |
---|
URLReader(java.net.URL url,
java.lang.String charset)
Creates a new FileReader, given the resource URL to read from.
|
public URLReader(java.net.URL url, java.lang.String charset) throws java.io.IOException
url
- the URL of the resource to readjava.io.FileNotFoundException
- if the resource does not exist,
is a directory rather than a regular file,
or for some other reason cannot be opened for reading.java.io.IOException
Copyright © 2005-2011 Potix Corporation. All Rights Reserved.