Package org.javlo.macro
Class CleanResourceNameMacro
- java.lang.Object
-
- org.javlo.macro.AbstractMacro
-
- org.javlo.macro.CleanResourceNameMacro
-
- All Implemented Interfaces:
IMacro
public class CleanResourceNameMacro extends AbstractMacro
-
-
Field Summary
Fields Modifier and Type Field Description protected static Logger
logger
create a static logger.-
Fields inherited from interface org.javlo.macro.core.IMacro
DEFAULT_MAX_MODAL_SIZE, DEFAULT_PRIORITY, LARGE_MODAL_SIZE, MIDDEL_MODAL_SIZE, SMALL_MODAL_SIZE
-
-
Constructor Summary
Constructors Constructor Description CleanResourceNameMacro()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
protected String
getNewName(File file)
boolean
isPreview()
is this macro can be execute in preview mode.String
perform(ContentContext ctx, Map<String,Object> params)
-
Methods inherited from class org.javlo.macro.AbstractMacro
getAllComponent, getIcon, getInfo, getMacroProperties, getPriority, getUrl, init, isActive, isAdd, isAdmin, isInterative, toString
-
-
-
-
Field Detail
-
logger
protected static Logger logger
create a static logger.
-
-