public class Download extends DownloadResource
NN_FILE, PN_DESCRIPTION, PN_FILE_NAME, PN_REFERENCE, PN_TITLE
RESOURCE_TYPE_NON_EXISTING
Constructor and Description |
---|
Download(Resource resource)
Creates a new download based on the given resource.
|
Modifier and Type | Method and Description |
---|---|
java.lang.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
adaptTo, getChild, getChildren, getName, getParent, getPath, getResource, getResourceMetadata, getResourceResolver, getResourceSuperType, getResourceType, getValueMap, hasChildren, isResourceType, listChildren, toString
public Download(Resource resource)
resource
- resource of the imagejava.lang.IllegalArgumentException
- if the given resource is not adaptable to node.@Deprecated public java.lang.String getIconPath()
getIconPath
in class DownloadResource
null
.Copyright © 2010 - 2020 Adobe. All Rights Reserved