|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.icesoft.pdf.ri.util.URLAccess
This utility class simplifies the process of loading URLs.
| Field Summary | |
String |
errorMessage
The reason why the URL was invalid. |
InputStream |
inputStream
Access to the data at the URL, if the URL was valid. |
URL |
url
The resolved URL, if urlLocation was valid. |
String |
urlLocation
The given URL string given to doURLAccess(). |
| Method Summary | |
void |
closeConnection()
Close the connection, but keep all the String information about the connection. |
void |
dispose()
Free up any resources used, immediately. |
static URLAccess |
doURLAccess(String urlLocation)
Simple utility method to check if a URL is valid. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public String urlLocation
public URL url
public InputStream inputStream
public String errorMessage
| Method Detail |
public static URLAccess doURLAccess(String urlLocation)
urlLocation -
public void dispose()
public void closeConnection()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||