Package org.dlese.dpc.util
Class GetURL
java.lang.Object
org.dlese.dpc.util.GetURL
URL is a utility class for retreiving the contents of a given URL as a
string
- Author:
- Ryan Deardorff
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetUrl()Gets the url attribute of the GetURL classstatic StringGets the url attribute of the GetURL classstatic StringGets the url as a stringvoidsetAddress(String address) Sets the address attribute of the GetURL object
-
Constructor Details
-
GetURL
public GetURL()
-
-
Method Details
-
getURL
Gets the url as a string- Parameters:
address- URLreportException- if an exception is thrown, should it be reported?- Returns:
- The url value
-
getUrl
Gets the url attribute of the GetURL class- Parameters:
address-reportException-- Returns:
- The url value
-
getUrl
Gets the url attribute of the GetURL class- Returns:
- The url value
-
setAddress
Sets the address attribute of the GetURL object- Parameters:
address- The new address value
-