|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.icepdf.ri.util.URLAccess
public class URLAccess
This utility class simplifies the process of loading URLs.
| Field Summary | |
|---|---|
java.lang.String |
errorMessage
The reason why the URL was invalid. |
java.io.InputStream |
inputStream
Access to the data at the URL, if the URL was valid. |
java.net.URL |
url
The resolved URL, if urlLocation was valid. |
java.lang.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(java.lang.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 java.lang.String urlLocation
public java.net.URL url
public java.io.InputStream inputStream
public java.lang.String errorMessage
| Method Detail |
|---|
public static URLAccess doURLAccess(java.lang.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 | ||||||||