com.atlassian.jira.web.util
Class FileIconBean

java.lang.Object
  extended by com.atlassian.jira.web.util.FileIconBean

public class FileIconBean
extends Object


Nested Class Summary
static class FileIconBean.FileIcon
           
 
Field Summary
static List<FileIconBean.FileIcon> DEFAULT_FILE_ICONS
           
 
Constructor Summary
FileIconBean(List<FileIconBean.FileIcon> mimeTypes, MimeManager mimeManager)
           
 
Method Summary
 FileIconBean.FileIcon getFileIcon(String fileName, String mimeType)
          Return a FileIcon if either the fileName or the mimeType matches.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_FILE_ICONS

public static final List<FileIconBean.FileIcon> DEFAULT_FILE_ICONS
Constructor Detail

FileIconBean

public FileIconBean(List<FileIconBean.FileIcon> mimeTypes,
                    MimeManager mimeManager)
Method Detail

getFileIcon

public FileIconBean.FileIcon getFileIcon(String fileName,
                                         String mimeType)
Return a FileIcon if either the fileName or the mimeType matches.



Copyright © 2002-2014 Atlassian. All Rights Reserved.