public class Download extends DownloadResource
NN_FILE, PN_DESCRIPTION, PN_FILE_NAME, PN_REFERENCE, PN_TITLE
Constructor and Description |
---|
Download(Resource resource)
Creates a new download based on the given resource.
|
Modifier and Type | Method and Description |
---|---|
String |
getIconPath()
Deprecated.
since 5.4 please use css classes for the icon, like "icon_xls.gif"
|
addAttribute, addCssClass, addQueryParam, draw, get, get, getAttributes, getData, getDescription, getDescription, getExtension, getFileName, getFileNodePath, getFileReference, getHref, getIconType, getInnerHtml, getItemName, getLastModified, getMimeType, getQuery, getSelector, getString, getSuffix, getTitle, getTitle, hasContent, init, isTouchAuthoringUIMode, set, setDescription, setExtension, setFileName, setFileNodePath, setFileReference, setHref, setInnerHtml, setIsInUITouchMode, setItemName, setQuery, setSelector, setSuffix, setTitle
public Download(Resource resource)
resource
- resource of the imageIllegalArgumentException
- if the given resource is not adaptable to node.@Deprecated public String getIconPath()
getIconPath
in class DownloadResource
null
."Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"