Class ClasspathAssetAliasManagerImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      ClasspathAssetAliasManagerImpl​(java.util.Map<java.lang.String,​java.lang.String> configuration)
      Configuration is a map of aliases (short names) to complete names.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      AssetAlias extractAssetAlias​(Resource resource)
      Takes a classpath resource and determines the proper alias for it based on the mappings contributed to the service.
      java.util.Map<java.lang.String,​java.lang.String> getMappings()
      Returns the mappings used by the service: the keys are the folder aliases (i.e, "corelib") and the values are the corresponding paths (i.e., "org/apache/tapestry5/corelib").
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ClasspathAssetAliasManagerImpl

        public ClasspathAssetAliasManagerImpl​(java.util.Map<java.lang.String,​java.lang.String> configuration)
        Configuration is a map of aliases (short names) to complete names. Keys and values must not start or end with a slash, but may contain them.