org.jesktop.mime
Interface MimeInfo


public interface MimeInfo

Interface that represents all informations about a Mime type

Version:
1.0
Author:
Laurent Cornelis

Method Summary
 LaunchableTarget[] getActions()
          Get all actions associated with this Mime (View, Edit, Print, ...)
 java.lang.String getDescription()
          Get the description of this Mime (p.e.
 java.lang.String[] getExtensions()
          Get all registered extensions for this Mime
 java.lang.String getExtensionsAsString()
          Get all registered extensions for this Mime as a coma-separated String
 javax.swing.ImageIcon getIcon()
          Get the image icon associated with this Mime
 java.lang.String getMime()
          Get mime string (p.e.
 

Method Detail

getMime

public java.lang.String getMime()
Get mime string (p.e. image/gif)


getExtensions

public java.lang.String[] getExtensions()
Get all registered extensions for this Mime


getExtensionsAsString

public java.lang.String getExtensionsAsString()
Get all registered extensions for this Mime as a coma-separated String


getDescription

public java.lang.String getDescription()
Get the description of this Mime (p.e. Image GIF)


getIcon

public javax.swing.ImageIcon getIcon()
Get the image icon associated with this Mime


getActions

public LaunchableTarget[] getActions()
Get all actions associated with this Mime (View, Edit, Print, ...)



Copyright © 2004 Jesktop Project. All Rights Reserved.