org.apache.commons.transaction.file
Class URLEncodeIdMapper
java.lang.Object
org.apache.commons.transaction.file.URLEncodeIdMapper
- All Implemented Interfaces:
- ResourceIdToPathMapper
public class URLEncodeIdMapper
- extends Object
- implements ResourceIdToPathMapper
URL encodes a resource.
- Since:
- 1.1
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
URLEncodeIdMapper
public URLEncodeIdMapper()
getPathForId
public String getPathForId(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.