com.opensymphony.xwork2.util
Class URLUtil

java.lang.Object
  extended by com.opensymphony.xwork2.util.URLUtil

public class URLUtil
extends Object

Helper class to extract file paths from different urls


Field Summary
static String JBOSS5_VFS
           
static String JBOSS5_VFSFILE
           
static String JBOSS5_VFSMEMORY
           
static String JBOSS5_VFSZIP
           
 
Constructor Summary
URLUtil()
           
 
Method Summary
static boolean verifyUrl(String url)
          Verify That the given String is in valid URL format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

JBOSS5_VFS

public static final String JBOSS5_VFS
See Also:
Constant Field Values

JBOSS5_VFSZIP

public static final String JBOSS5_VFSZIP
See Also:
Constant Field Values

JBOSS5_VFSMEMORY

public static final String JBOSS5_VFSMEMORY
See Also:
Constant Field Values

JBOSS5_VFSFILE

public static final String JBOSS5_VFSFILE
See Also:
Constant Field Values
Constructor Detail

URLUtil

public URLUtil()
Method Detail

verifyUrl

public static boolean verifyUrl(String url)
Verify That the given String is in valid URL format.

Parameters:
url - The url string to verify.
Returns:
a boolean indicating whether the URL seems to be incorrect.


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.