de.tuberlin.cs.flp.jspwiki.plugin
Class FileIcon

java.lang.Object
  extended byde.tuberlin.cs.flp.jspwiki.plugin.FileIcon

public class FileIcon
extends java.lang.Object

[{FileIcon filename='...'}]

Inserts an icon image fitting the specified filename. Available Icons can be configured via the page FileIcons (or as set via jspwiki.fileicons.page).


Constructor Summary
FileIcon()
           
 
Method Summary
 java.lang.String execute(WikiContext context, java.util.Map params)
          Executes the plugin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileIcon

public FileIcon()
Method Detail

execute

public java.lang.String execute(WikiContext context,
                                java.util.Map params)
                         throws PluginException
Executes the plugin.

Parameters:
context - The WikiContext.
params - Parameters specified at plugin inclusion.
Returns:
HTML to be inserted into page
Throws:
PluginException - if an error occurs