org.omnaest.utils.download
Class URLHelper

java.lang.Object
  extended by org.omnaest.utils.download.URLHelper

public class URLHelper
extends Object

Helper for URL related actions

Author:
Omnaest

Constructor Summary
URLHelper()
           
 
Method Summary
static URL createURL(String urlStr)
          Creates a new url.
static URL createUrl(String scheme, String host, String path, Map<String,String> queryMap)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLHelper

public URLHelper()
Method Detail

createURL

public static URL createURL(String urlStr)
Creates a new url. Returns null if any exception occurs.

Parameters:
urlStr -
Returns:

createUrl

public static URL createUrl(String scheme,
                            String host,
                            String path,
                            Map<String,String> queryMap)
Parameters:
scheme -
host -
path -
queryMap -
Returns:


Copyright © 2013. All Rights Reserved.