Package org.apache.wiki.plugin
Class CurrentTimePlugin
- java.lang.Object
-
- org.apache.wiki.plugin.CurrentTimePlugin
-
- All Implemented Interfaces:
Plugin
public class CurrentTimePlugin extends java.lang.Object implements Plugin
Just displays the current date and time. The time format is exactly like in the java.text.SimpleDateFormat class.Parameters :
NONE- Since:
- 1.7.8
- See Also:
SimpleDateFormat
-
-
Field Summary
-
Fields inherited from interface org.apache.wiki.api.plugin.Plugin
CORE_PLUGINS_RESOURCEBUNDLE
-
-
Constructor Summary
Constructors Constructor Description CurrentTimePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringexecute(Context context, java.util.Map<java.lang.String,java.lang.String> params)
-
-
-
Constructor Detail
-
CurrentTimePlugin
public CurrentTimePlugin()
-
-
Method Detail
-
execute
public java.lang.String execute(Context context, java.util.Map<java.lang.String,java.lang.String> params) throws PluginException
- Specified by:
executein interfacePlugin- Throws:
PluginException
-
-