Package rs.baselib.util
Class UriProviderWrapper
java.lang.Object
rs.baselib.util.UriProviderWrapper
- All Implemented Interfaces:
IUrlTransformer
Wraps an
IUriProvider
into an IUrlTransformer
.- Author:
- ralph
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
UriProviderWrapper
Constructor.- Parameters:
provider
- the actual URI provider
-
-
Method Details
-
toURL
Converts the given string to a URL.- Specified by:
toURL
in interfaceIUrlTransformer
- Parameters:
url
- url- Returns:
- URL
- Throws:
MalformedURLException
- when the URL cannot be created
-