cvm.ucm.repository
Class MacroLoader

java.lang.Object
  extended by cvm.ucm.repository.MacroLoader

public class MacroLoader
extends java.lang.Object

The MacroLoader class retrieves, from a given Source (a Database, a File System, etc), the information necessary and creates a Macro.

Author:
Abhishek B. and Marylurdys H.

Constructor Summary
MacroLoader(Sources s)
           
 
Method Summary
 Macro loadMacro(java.lang.String name)
          loadMacro creates a Macro object with the information obtained from the source for a given function name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroLoader

public MacroLoader(Sources s)
Method Detail

loadMacro

public Macro loadMacro(java.lang.String name)
                throws java.lang.Exception
loadMacro creates a Macro object with the information obtained from the source for a given function name

Parameters:
name - : the name of the function whose macro is required
Returns:
Macro object
Throws:
java.lang.Exception
See Also:
Macro