org.apache.commons.transaction.file
Class URLEncodeIdMapper

java.lang.Object
  extended by org.apache.commons.transaction.file.URLEncodeIdMapper
All Implemented Interfaces:
ResourceIdToPathMapper

public class URLEncodeIdMapper
extends java.lang.Object
implements ResourceIdToPathMapper

URL encodes a resource.

Since:
1.1

Constructor Summary
URLEncodeIdMapper()
           
 
Method Summary
 java.lang.String getPathForId(java.lang.Object resourceId)
          Maps the resource id object to a path string.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

URLEncodeIdMapper

public URLEncodeIdMapper()
Method Detail

getPathForId

public java.lang.String getPathForId(java.lang.Object resourceId)
Description copied from interface: ResourceIdToPathMapper
Maps the resource id object to a path string.

Specified by:
getPathForId in interface ResourceIdToPathMapper
Parameters:
resourceId - the resource id
Returns:
the path string


Copyright ? 2004 The Apache Software Foundation. All Rights Reserved.