Interface AssetHandlerInfo


@Deprecated public interface AssetHandlerInfo
Deprecated.
since 5.4
The AssetHandlerInfo class ...
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    activate(String mimeType)
    Deprecated.
    Activate the media handler for the given mime type.
    void
    deactivate(String mimeType)
    Deprecated.
    Deactivate the media handler for the given mime type.
    Deprecated.
    Return the list of currently active mime types for this media handler.
    Deprecated.
    Get the class name.
    Deprecated.
    Return the list of currently inactive mime types for this media handler.
    Deprecated.
    Get the corresponding media handler.
    Deprecated.
    Return the list of mime types supported by this media handler.
    Deprecated.
    Get the service name.
    Deprecated.
    Get the service id.
    boolean
    Deprecated.
    Is this a configurable media handler?
  • Method Details

    • getMediaHandler

      AssetHandler getMediaHandler()
      Deprecated.
      Get the corresponding media handler.
      Returns:
      the media handler
    • getName

      String getName()
      Deprecated.
      Get the service name.
      Returns:
      the service name
    • getServiceId

      String getServiceId()
      Deprecated.
      Get the service id.
      Returns:
      the service id
    • getClassName

      String getClassName()
      Deprecated.
      Get the class name.
      Returns:
      the class name
    • getMimeTypes

      String[] getMimeTypes()
      Deprecated.
      Return the list of mime types supported by this media handler.
      Returns:
      The list of mime types or an empty list.
    • getActiveMimeTypes

      String[] getActiveMimeTypes()
      Deprecated.
      Return the list of currently active mime types for this media handler.
      Returns:
      The list of mime types or an empty list.
    • getInactiveMimeTypes

      String[] getInactiveMimeTypes()
      Deprecated.
      Return the list of currently inactive mime types for this media handler.
      Returns:
      The list of mime types or an empty list.
    • activate

      void activate(String mimeType)
      Deprecated.
      Activate the media handler for the given mime type. If the media handler does not support the mime type, no action is performed. If another media handler is currently activated for the mime type, it gets deactivated. Only one media handler can be activate at a time for a mime type.
      Parameters:
      mimeType - - The mime type for which the media handler is to be activated
    • deactivate

      void deactivate(String mimeType)
      Deprecated.
      Deactivate the media handler for the given mime type. If the media handler does not support the mime type, no action is performed. If there is another handler for the same mime type that one is not activated automatically. This has to be done manually by activate(String).
      Parameters:
      mimeType - - The mime type for which the media handler is to be deactivated
    • hasConfiguration

      boolean hasConfiguration()
      Deprecated.
      Is this a configurable media handler?
      Returns:
      if the media handler is configurable