Class FilePathMacro

    • Constructor Detail

      • FilePathMacro

        public FilePathMacro()
    • Method Detail

      • getLocaleKey

        public String getLocaleKey()
      • getDescription

        public String getDescription()
        Description copied from class: BaseMacro
        Get a description of the macro. This description explains in a short way what the macro does
        Specified by:
        getDescription in interface org.radeox.api.macro.Macro
        Overrides:
        getDescription in class BaseMacro
        Returns:
        description A string describing the macro
      • getParamDescription

        public String[] getParamDescription()
        Description copied from class: BaseMacro
        Get a description of the paramters of the macro. The method returns an array with an String entry for every parameter. The format is {"1: description", ...} where 1 is the position of the parameter.
        Specified by:
        getParamDescription in interface org.radeox.api.macro.Macro
        Overrides:
        getParamDescription in class BaseMacro
        Returns:
        description Array describing the parameters of the macro
      • execute

        public void execute​(Writer writer,
                            org.radeox.api.macro.MacroParameter params)
                     throws IllegalArgumentException,
                            IOException
        Description copied from class: BaseMacro
        Execute the macro. This method is called by MacroFilter to handle macros.
        Specified by:
        execute in interface org.radeox.api.macro.Macro
        Specified by:
        execute in class BaseMacro
        Parameters:
        writer - A write where the macro should write its output to
        params - Macro parameters with the parameters the macro is called with
        Throws:
        IllegalArgumentException
        IOException