org.abstracthorizon.danube.support
Class URLUtils

java.lang.Object
  extended by org.abstracthorizon.danube.support.URLUtils

public class URLUtils
extends Object

Utility class that deals for URLs

Author:
Daniel Sendula

Constructor Summary
URLUtils()
           
 
Method Summary
static URL addPath(URL url, String path)
          Adds a path to existing URL
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLUtils

public URLUtils()
Method Detail

addPath

public static URL addPath(URL url,
                          String path)
                   throws MalformedURLException
Adds a path to existing URL

Parameters:
url - an URL for path to be added to
path - path to be added to URL
Returns:
new URL
Throws:
MalformedURLException


Copyright © 2005-2009 Abstract Horizon. All Rights Reserved.