public interface AssetStore
AssetStore
class ...Modifier and Type | Field and Description |
---|---|
static int |
SIZE_LARGE
Icon size: large.
|
static int |
SIZE_MEDIUM
Icon size: medium.
|
static int |
SIZE_SMALL
Icon size: small.
|
Modifier and Type | Method and Description |
---|---|
AssetHandler[] |
getAllAssetHandler()
Return an array of all available media handlers.
|
AssetHandler |
getAssetHandler(java.lang.String mimeType)
Get the media handler for the mime type.
|
java.util.Map<java.lang.String,AssetHandlerInfo> |
getAssetHandlerInfos()
Return a map of
AssetHandlerInfo s hashed by their service id. |
java.lang.String |
getFileNameSuffix(java.lang.String mimeType)
Deprecated.
use
MimeTypeService.getExtension(String) instead |
java.lang.String |
getIconPath(java.lang.String mimeType,
int size)
Deprecated.
no replacement
|
java.lang.String |
getMimeType(java.lang.String filename)
Deprecated.
use
MimeTypeService.getMimeType(String) instead |
static final int SIZE_SMALL
static final int SIZE_MEDIUM
static final int SIZE_LARGE
AssetHandler getAssetHandler(java.lang.String mimeType)
mimeType
- The mime type.AssetHandler[] getAllAssetHandler()
java.util.Map<java.lang.String,AssetHandlerInfo> getAssetHandlerInfos()
AssetHandlerInfo
s hashed by their service id.AssetHandlerInfo
s hashed by their service id.@Deprecated java.lang.String getMimeType(java.lang.String filename)
MimeTypeService.getMimeType(String)
insteadfilename
- filename@Deprecated java.lang.String getFileNameSuffix(java.lang.String mimeType)
MimeTypeService.getExtension(String)
insteadmimeType
- - The mime type for which the file ending is to be found@Deprecated java.lang.String getIconPath(java.lang.String mimeType, int size)
mimeType
- - The mime type for which the icon is to be foundsize
- - The size of the iconCopyright © 2010 - 2020 Adobe. All Rights Reserved