public class URLReader extends InputStreamReader
| Constructor and Description |
|---|
URLReader(URL url,
String charset)
Creates a new FileReader, given the resource URL to read from.
|
close, getEncoding, read, read, readypublic URLReader(URL url, String charset) throws IOException
url - the URL of the resource to readFileNotFoundException - if the resource does not exist,
is a directory rather than a regular file,
or for some other reason cannot be opened for reading.IOExceptionCopyright © 2018. All rights reserved.