public class MacroRequest extends Object
MacroRequest class.
Constructor and Description |
---|
MacroRequest(Map<String,Object> param,
File base)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
File |
getBasedir()
Returns the current base directory.
|
Object |
getParameter(String key)
Returns on object from the map of parameters
that corresponds to the given key.
|
Map<String,Object> |
getParameters()
Returns the map of parameters.
|
void |
setBasedir(File base)
Sets the current base directory.
|
public MacroRequest(Map<String,Object> param, File base)
param
- A map of parameters.base
- The current base directory.public File getBasedir()
public void setBasedir(File base)
base
- The current base directory.public Map<String,Object> getParameters()
public Object getParameter(String key)
key
- The key to lookup the object.Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.