public class SaveMacro
extends java.lang.Object
Constructor and Description |
---|
SaveMacro(java.io.File macrofile,
java.lang.String commandLine)
Constructor.
|
SaveMacro(java.util.Map<java.lang.String,java.lang.String> argMap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Save the current command line to the macro property file.
|
public SaveMacro(java.util.Map<java.lang.String,java.lang.String> argMap)
argMap
- (Mappublic SaveMacro(java.io.File macrofile, java.lang.String commandLine)
macrofile
- (File) Macro file.commandLine
- A command line to be safed to the macro.public final void execute() throws java.lang.Exception, java.io.IOException, MacroException
java.lang.Exception
- Thrown on wrong user input.java.io.IOException
- Error reading the property file.MacroException
- Illegal parameters were found within the macro.