org.cruxframework.crux.core.utils
Class URLUtils

java.lang.Object
  extended by org.cruxframework.crux.core.utils.URLUtils

public class URLUtils
extends Object

Author:
Thiago da Rosa de Bustamante

Nested Class Summary
static class URLUtils.ResourceException
           
 
Constructor Summary
URLUtils()
           
 
Method Summary
static boolean existsResource(URL url)
          Returns true if the resource referred by an URL really exists
static boolean isIdenticResource(URL view1, URL view2, String resourceId)
           
static URL isValidURL(String urlString)
           
 
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

existsResource

public static boolean existsResource(URL url)
Returns true if the resource referred by an URL really exists

Parameters:
url -
Returns:

isValidURL

public static URL isValidURL(String urlString)
Parameters:
urlString -
Returns:

isIdenticResource

public static boolean isIdenticResource(URL view1,
                                        URL view2,
                                        String resourceId)


Copyright © 2014. All rights reserved.