Interface AssetStore


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

      • getAssetHandler

        AssetHandler getAssetHandler​(java.lang.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.
      • getMimeType

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

        @Deprecated
        java.lang.String getFileNameSuffix​(java.lang.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
        java.lang.String getIconPath​(java.lang.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.