com.atlassian.jira.web.util
Interface FileIconUtil

All Known Implementing Classes:
FileIconUtilImpl

public interface FileIconUtil

A nice injectable util for retreiving an icon for file.

Since:
v5.0

Method Summary
 FileIconBean.FileIcon getFileIcon(String fileName, String mimeType)
          Get the icon for file
 

Method Detail

getFileIcon

FileIconBean.FileIcon getFileIcon(String fileName,
                                  String mimeType)
Get the icon for file

Parameters:
fileName - the name of the file
mimeType - the mimetype of the file
Returns:
object representing the icon


Copyright © 2002-2012 Atlassian. All Rights Reserved.