org.jdesktop.jdic.filetypes.internal
Interface AppAssociationReader


public interface AppAssociationReader

Containing funtions to retrieve association information


Method Summary
 java.util.List getActionListByFileExt(java.lang.String fileExt)
          Returns the action list associated with the given file extension.
 java.util.List getActionListByMimeType(java.lang.String mimeType)
          Returns the action list associated with the given mime type.
 java.lang.String getDescriptionByFileExt(java.lang.String fileExt)
          Returns the description associated with the given file extension.
 java.lang.String getDescriptionByMimeType(java.lang.String mimeType)
          Returns the description associated with the given mime type.
 java.util.List getFileExtListByMimeType(java.lang.String mimeType)
          Returns the file extensione list associated with the given mime type.
 java.lang.String getIconFileNameByFileExt(java.lang.String fileExt)
          Returns the icon file name associated with the given file extension.
 java.lang.String getIconFileNameByMimeType(java.lang.String mimeType)
          Returns the icon file name associated with the given mime type.
 java.lang.String getMimeTypeByFileExt(java.lang.String fileExt)
          Returns the mime type associated with the given file extension.
 java.lang.String getMimeTypeByURL(java.net.URL url)
          Returns the mime type associated with the given URL, by checking the content of the URL.
 boolean isFileExtExist(java.lang.String fileExt)
          Returns true if the file extension exists in the system.
 boolean isMimeTypeExist(java.lang.String mimeType)
          Returns true if the mime type exists in the system.
 

Method Detail

getDescriptionByMimeType

java.lang.String getDescriptionByMimeType(java.lang.String mimeType)
Returns the description associated with the given mime type.

Parameters:
mimeType - Given mime type
Returns:
String

getDescriptionByFileExt

java.lang.String getDescriptionByFileExt(java.lang.String fileExt)
Returns the description associated with the given file extension.

Parameters:
fileExt - Given file extension
Returns:
String

getMimeTypeByURL

java.lang.String getMimeTypeByURL(java.net.URL url)
Returns the mime type associated with the given URL, by checking the content of the URL.

Parameters:
url - The specified URL
Returns:
String

getFileExtListByMimeType

java.util.List getFileExtListByMimeType(java.lang.String mimeType)
Returns the file extensione list associated with the given mime type.

Parameters:
mimeType - Given mime type
Returns:
String

getMimeTypeByFileExt

java.lang.String getMimeTypeByFileExt(java.lang.String fileExt)
Returns the mime type associated with the given file extension.

Parameters:
fileExt - Given file extension
Returns:
String

getIconFileNameByMimeType

java.lang.String getIconFileNameByMimeType(java.lang.String mimeType)
Returns the icon file name associated with the given mime type.

Parameters:
mimeType - Given mime type.
Returns:
icon file name

getIconFileNameByFileExt

java.lang.String getIconFileNameByFileExt(java.lang.String fileExt)
Returns the icon file name associated with the given file extension.

Parameters:
fileExt - Given file extension.
Returns:
icon file name

getActionListByFileExt

java.util.List getActionListByFileExt(java.lang.String fileExt)
Returns the action list associated with the given file extension.

Parameters:
fileExt - Given file extension
Returns:
the action list

getActionListByMimeType

java.util.List getActionListByMimeType(java.lang.String mimeType)
Returns the action list associated with the given mime type.

Parameters:
mimeType - Given mime type
Returns:
the action list

isMimeTypeExist

boolean isMimeTypeExist(java.lang.String mimeType)
Returns true if the mime type exists in the system.

Parameters:
mimeType - given mimeType
Returns:
true if the mime type exists in the system

isFileExtExist

boolean isFileExtExist(java.lang.String fileExt)
Returns true if the file extension exists in the system.

Parameters:
fileExt - given file extension
Returns:
true if the file extension exists in the system


Copyright © 2005 Sun Microsystems All Rights Reserved.