Interface AssetStore


public interface AssetStore
The AssetStore class ...
  • Field Details

  • Method Details

    • getAssetHandler

      AssetHandler getAssetHandler(String mimeType)
      Get the media handler for the mime type.
      Parameters:
      mimeType - The mime type.
      Returns:
      Returns the special media handler for the mime type or if no special media handler is available, the default handler is returned.
    • getAllAssetHandler

      AssetHandler[] getAllAssetHandler()
      Return an array of all available media handlers.
      Returns:
      An array of media handlers or an empty array if no handlers are registered.
    • getAssetHandlerInfos

      Map<String,AssetHandlerInfo> getAssetHandlerInfos()
      Return a map of AssetHandlerInfos hashed by their service id.
      Returns:
      a map of AssetHandlerInfos hashed by their service id.
    • getMimeType

      @Deprecated String getMimeType(String filename)
      Deprecated.
      Returns the proper mime type for the given filename
      Parameters:
      filename - filename
      Returns:
      mime type as string
    • getFileNameSuffix

      @Deprecated String getFileNameSuffix(String mimeType)
      Deprecated.
      Return a file ending for a mime type.
      Parameters:
      mimeType - - The mime type for which the file ending is to be found
      Returns:
      the file ending for a mime type.
    • getIconPath

      @Deprecated String getIconPath(String mimeType, int size)
      Deprecated.
      no replacement
      Return the full path to the icon.
      Parameters:
      mimeType - - The mime type for which the icon is to be found
      size - - The size of the icon
      Returns:
      the full path to the icon.