org.apache.felix.ipojo.manipulator.store.mapper
Class WABResourceMapper

java.lang.Object
  extended by org.apache.felix.ipojo.manipulator.store.mapper.WABResourceMapper
All Implemented Interfaces:
ResourceMapper

public class WABResourceMapper
extends java.lang.Object
implements ResourceMapper

A WABResourceMapper knows how to map resource names for a Web Application Bundle (WAB).

Author:
Felix Project Team TODO It is not actually used by default, that will probably lead to some Exception

Field Summary
static java.lang.String WEB_INF_CLASSES
           
 
Constructor Summary
WABResourceMapper()
           
 
Method Summary
 java.lang.String externalize(java.lang.String name)
          Provides a normalized resource name from the store's internal format.
 java.lang.String internalize(java.lang.String name)
          Adapts the normalized resource name into internal format.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WEB_INF_CLASSES

public static final java.lang.String WEB_INF_CLASSES
See Also:
Constant Field Values
Constructor Detail

WABResourceMapper

public WABResourceMapper()
Method Detail

internalize

public java.lang.String internalize(java.lang.String name)
Description copied from interface: ResourceMapper
Adapts the normalized resource name into internal format.

Specified by:
internalize in interface ResourceMapper
Parameters:
name - original class names (as a resource)
Returns:
the transformed resource's name

externalize

public java.lang.String externalize(java.lang.String name)
Description copied from interface: ResourceMapper
Provides a normalized resource name from the store's internal format.

Specified by:
externalize in interface ResourceMapper
Parameters:
name - resource name in internal format
Returns:
normalized resource name


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.