public class

FileIconUtilImpl

extends Object
implements FileIconUtil
java.lang.Object
   ↳ com.atlassian.jira.web.util.FileIconUtilImpl

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

Class Overview

Default implementation

Summary

Public Constructors
FileIconUtilImpl(FileIconBean fileIconBean)
Public Methods
FileIconBean.FileIcon getFileIcon(String fileName, String mimeType)
Get the icon for file
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.atlassian.jira.web.util.FileIconUtil

Public Constructors

public FileIconUtilImpl (FileIconBean fileIconBean)

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