org.apache.turbine.util.uri
Class URIUtils

java.lang.Object
  extended byorg.apache.turbine.util.uri.URIUtils

public abstract class URIUtils
extends java.lang.Object

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

Version:
$Id: URIUtils.java 534527 2007-05-02 16:10:59Z tv $
Author:
Henning P. Schmiedehausen

Constructor Summary
URIUtils()
           
 
Method Summary
static java.lang.String getAbsoluteLink(java.lang.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 java.lang.String getAbsoluteLink(java.lang.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-2008 Apache Software Foundation. All Rights Reserved.