public interface

FileIconUtil

com.atlassian.jira.web.util.FileIconUtil
Known Indirect Subclasses

This interface is deprecated.
Use JIRA.Templates.ViewIssue.matchFileIconUrl or JIRA.Templates.ViewIssue.matchFileIconAlt soy template instead.

Class Overview

A nice injectable util for retreiving an icon for file.

Summary

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

Public Methods

public 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