Interface AssetStore


  • public interface AssetStore
    The AssetStore class ...
    • Method Detail

      • 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.
      • 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.