|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.dlese.dpc.util.GetURL
public final class GetURL
URL is a utility class for retreiving the contents of a given URL as a string
Constructor Summary | |
---|---|
GetURL()
|
Method Summary | |
---|---|
String |
getUrl()
Gets the url attribute of the GetURL class |
static String |
getUrl(String address,
boolean reportException)
Gets the url attribute of the GetURL class |
static String |
getURL(String address,
boolean reportException)
Gets the url as a string |
void |
setAddress(String address)
Sets the address attribute of the GetURL object |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GetURL()
Method Detail |
---|
public static String getURL(String address, boolean reportException)
address
- URLreportException
- if an exception is thrown, should it be reported?
public static String getUrl(String address, boolean reportException)
address
- reportException
-
public String getUrl()
public void setAddress(String address)
address
- The new address value
|
DLESE Tools v1.6.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |