public class OpenMacro
extends java.lang.Object
Constructor and Description |
---|
OpenMacro(java.io.File macroName)
Constructor.
|
OpenMacro(java.util.Map<java.lang.String,java.lang.String> argMap)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
Read the macro from the file and combine it with the command line user input.
|
java.util.Map<java.lang.String,java.lang.String> |
getResult()
Getter.
|
public OpenMacro(java.util.Map<java.lang.String,java.lang.String> argMap)
argMap
- (Mappublic OpenMacro(java.io.File macroName)
macroName
- (File) Path to a macro file.public final void execute() throws java.io.IOException, MacroException
java.io.IOException
- Error reading the property file.MacroException
- Illegal parameters were found within the macro.public final java.util.Map<java.lang.String,java.lang.String> getResult()