org.tynamo.blob
Class IconResolverImpl
java.lang.Object
org.tynamo.blob.IconResolverImpl
- All Implemented Interfaces:
- IconResolver
public class IconResolverImpl
- extends Object
- implements IconResolver
|
Method Summary |
org.apache.tapestry5.Asset |
getAsset(String contentType)
Returns an Asset object for the given MIME type. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IconResolverImpl
public IconResolverImpl(@ClasspathProvider
org.apache.tapestry5.services.AssetFactory classpathAssetFactory,
Map<String,String> configuration)
getAsset
public org.apache.tapestry5.Asset getAsset(String contentType)
- Description copied from interface:
IconResolver
- Returns an Asset object for the given MIME type. It will be used as an icon for the download link.
- Specified by:
getAsset in interface IconResolver
- Parameters:
contentType - the MIME type
- Returns:
- the icon asset for the specified MIME type
Copyright © 2004-2013. All Rights Reserved.