org.apache.commons.transaction.file
Class JDK14URLEncodeIdMapper

java.lang.Object
  extended byorg.apache.commons.transaction.file.JDK14URLEncodeIdMapper
All Implemented Interfaces:
ResourceIdToPathMapper

public class JDK14URLEncodeIdMapper
extends java.lang.Object
implements ResourceIdToPathMapper

URL encodes a resource id using JDK1.4 functionality.

Since:
1.1

Constructor Summary
JDK14URLEncodeIdMapper()
           
 
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

JDK14URLEncodeIdMapper

public JDK14URLEncodeIdMapper()
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-2007 The Apache Software Foundation. All Rights Reserved.