|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.Reader java.io.InputStreamReader org.zkoss.io.URLReader
public class URLReader
Convenience class for reading character files.
Field Summary |
---|
Fields inherited from class java.io.Reader |
---|
lock |
Constructor Summary | |
---|---|
URLReader(java.net.URL url,
java.lang.String charset)
Creates a new FileReader, given the resource URL to read from. |
Method Summary |
---|
Methods inherited from class java.io.InputStreamReader |
---|
close, getEncoding, read, read, ready |
Methods inherited from class java.io.Reader |
---|
mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public URLReader(java.net.URL url, java.lang.String charset) throws java.io.IOException
url
- the URL of the resource to read
java.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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |