Package echo.util
Class UrlWrapper
- java.lang.Object
-
- echo.util.UrlWrapper
-
class UrlWrapper extends java.lang.ObjectWraps the java URL class so that it exposes methods to determine if entered values are urls or not.
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Stringspec
-
Constructor Summary
Constructors Constructor Description UrlWrapper(java.lang.String spec)Creates a new UrlWrapper with a supplied url
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisUrl()Returns true if the specified string is a URLjava.io.InputStreamopenStream()Open an input stream to the location of the url
-