org.apache.turbine.util.uri
Class URIUtils

java.lang.Object
  extended by org.apache.turbine.util.uri.URIUtils

public abstract class URIUtils
extends Object

Bundles a few static routines concerning URIs, that you will need all the time.

Version:
$Id: URIUtils.java 615328 2008-01-25 20:25:05Z tv $
Author:
Henning P. Schmiedehausen

Constructor Summary
URIUtils()
           
 
Method Summary
static String getAbsoluteLink(String path)
          Convert a given Path into a Turbine Data URI.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URIUtils

public URIUtils()
Method Detail

getAbsoluteLink

public static String getAbsoluteLink(String path)
Convert a given Path into a Turbine Data URI. The resulting path contains no path_info or query data. If you have a current runData object around, you should use DataURI and setScriptName()!.

Parameters:
path - A relative path
Returns:
the absolute path for the request.


Copyright © 2000-2011 The Apache Software Foundation. All Rights Reserved.