RichFaces Core Implementation 4.1.0.20111111-CR1

org.richfaces.util
Class URLUtils

java.lang.Object
  extended by org.richfaces.util.URLUtils

public class URLUtils
extends Object

Utilities for handling URL instances.

Author:
Lukas Fryc

Method Summary
static boolean isValidURL(String url)
           Returns true if the URL given as string is valid URL.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isValidURL

public static boolean isValidURL(String url)

Returns true if the URL given as string is valid URL.

Specifically it verifies that all mandatory parts of URL are in place and all other parts have valid form.

Parameters:
url - the URL as string to be verified for valid URL form
Returns:
Returns true if the URL given as string is valid URL

RichFaces Core Implementation 4.1.0.20111111-CR1

Copyright © 2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.