org.tynamo.blob
Interface IconResolver
- All Known Implementing Classes:
- DefaultIconResolver
public interface IconResolver
An interface to allow the org.trails.component.blob.TrailsDownload component to resolve icons in a custom
fashion.
|
Method Summary |
org.apache.tapestry5.Asset |
getAsset(String contentType)
Returns an IAsset object for the given MIME type. |
getAsset
org.apache.tapestry5.Asset getAsset(String contentType)
- Returns an IAsset object for the given MIME type. It will be used as an icon for the download link.
- Parameters:
contentType - the MIME type
- Returns:
- the icon asset for the specified MIME type
Copyright © 2004-2012. All Rights Reserved.