Package org.apache.wiki.plugin
Class CurrentTimePlugin
java.lang.Object
org.apache.wiki.plugin.CurrentTimePlugin
- All Implemented Interfaces:
org.apache.wiki.api.plugin.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:
-
Field Summary
Fields inherited from interface org.apache.wiki.api.plugin.Plugin
CORE_PLUGINS_RESOURCEBUNDLE -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
CurrentTimePlugin
public CurrentTimePlugin()
-
-
Method Details
-
getDisplayName
- Specified by:
getDisplayNamein interfaceorg.apache.wiki.api.plugin.Plugin
-
getSnipExample
- Specified by:
getSnipExamplein interfaceorg.apache.wiki.api.plugin.Plugin
-
execute
public String execute(org.apache.wiki.api.core.Context context, Map<String, String> params) throws org.apache.wiki.api.exceptions.PluginException- Specified by:
executein interfaceorg.apache.wiki.api.plugin.Plugin- Throws:
org.apache.wiki.api.exceptions.PluginException
-