com.aetrion.flickr.util
Class UrlUtilities

java.lang.Object
  extended by com.aetrion.flickr.util.UrlUtilities

public class UrlUtilities
extends java.lang.Object

Author:
Anthony Eden

Constructor Summary
UrlUtilities()
           
 
Method Summary
static java.net.URL buildPostUrl(java.lang.String host, int port, java.lang.String path)
           
static java.net.URL buildUrl(java.lang.String host, int port, java.lang.String path, java.util.List parameters)
          Build a request URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UrlUtilities

public UrlUtilities()
Method Detail

buildUrl

public static java.net.URL buildUrl(java.lang.String host,
                                    int port,
                                    java.lang.String path,
                                    java.util.List parameters)
                             throws java.net.MalformedURLException
Build a request URL.

Parameters:
host - The host
port - The port
path - The path
parameters - The parameters
Returns:
The URL
Throws:
java.net.MalformedURLException

buildPostUrl

public static java.net.URL buildPostUrl(java.lang.String host,
                                        int port,
                                        java.lang.String path)
                                 throws java.net.MalformedURLException
Throws:
java.net.MalformedURLException


Copyright (C) 2005-2007 Aetrion LLC. All Rights Reserved.