org.deegree.client.core.utils
Class FacesUtils
java.lang.Object
org.deegree.client.core.utils.FacesUtils
public class FacesUtils
- extends Object
TODO add class documentation here
- Version:
- $Revision: $, $Date: $
- Author:
- Lyn Buesching, last edited by: $Author: lyn $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FacesUtils
public FacesUtils()
getAbsolutePath
public static String getAbsolutePath(String target,
String fileName)
- Parameters:
target
- fileName
-
- Returns:
getWebAccessibleUrl
public static URL getWebAccessibleUrl(String target,
String fileName)
throws MalformedURLException
- Parameters:
target
- the name of an existing directory in the webapps directory, if null the webapps directory will is the
targetfileName
- the name of the file
- Returns:
- the current URL extended with the target and fileName, or null if an error occurred. Example:
http://localhost:8080/context/target/fileName
- Throws:
MalformedURLException
getServerURL
public static String getServerURL()
- Returns:
- the current URL, or null if an error occurred. Example: http://localhost:8080/context/
Copyright © 2011. All Rights Reserved.