Class UrlProviderWrapper

java.lang.Object
rs.baselib.util.UrlProviderWrapper
All Implemented Interfaces:
IUrlTransformer

public class UrlProviderWrapper
extends java.lang.Object
implements IUrlTransformer
Wraps an IUrlProvider into an IUrlTransformer.
Author:
ralph
  • Constructor Summary

    Constructors 
    Constructor Description
    UrlProviderWrapper​(IUrlProvider provider)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    java.net.URL toURL​(java.lang.String url)
    Converts the given string to a URL.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • toURL

      public java.net.URL toURL​(java.lang.String url) throws java.net.MalformedURLException
      Converts the given string to a URL.
      Specified by:
      toURL in interface IUrlTransformer
      Parameters:
      url - url
      Returns:
      URL
      Throws:
      java.net.MalformedURLException - when the URL cannot be created