Package echo.util
Class UrlWrapper
java.lang.Object
echo.util.UrlWrapper
Wraps the java URL class so that it exposes methods to determine if entered values are urls or
not.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isUrl()
Returns true if the specified string is a URLOpen an input stream to the location of the url
-
Field Details
-
spec
-
-
Constructor Details
-
UrlWrapper
Creates a new UrlWrapper with a supplied url
-
-
Method Details
-
isUrl
public boolean isUrl()Returns true if the specified string is a URL -
openStream
Open an input stream to the location of the url- Throws:
IOException
-