com.j2biz.blogunity.render.macro
Class FileAttachmentMacro
java.lang.Object
org.radeox.macro.BaseMacro
com.j2biz.blogunity.render.macro.AbstractMacro
com.j2biz.blogunity.render.macro.FileAttachmentMacro
- All Implemented Interfaces:
- Comparable, org.radeox.macro.Macro
- public class FileAttachmentMacro
- extends AbstractMacro
A simple macro that shows image. It can be used in two ways: - Show images
from internet referenced by URL. (e.g.
{image:http://www.mysite.com/image.gif} ) - Show images locally uploaded by
the user into blog's intern "images"-directory. For example call:
{image:image.gif} will load some image "image.gif" from "images"-directory of
a current blog.
Fields inherited from class org.radeox.macro.BaseMacro |
description, initialContext, paramDescription |
Methods inherited from class org.radeox.macro.BaseMacro |
compareTo, toString |
FileAttachmentMacro
public FileAttachmentMacro()
getName
public String getName()
getDescription
public String getDescription()
getParamDescription
public String[] getParamDescription()
execute
public void execute(Writer writer,
org.radeox.macro.parameter.MacroParameter params)
throws IllegalArgumentException,
IOException
- Throws:
IllegalArgumentException
IOException
Copyright (c)j2biz.com