org.gwe.p2elv2.macro
Class PMacroLibrary

java.lang.Object
  extended by org.gwe.p2elv2.macro.PMacroLibrary

public class PMacroLibrary
extends java.lang.Object

Since:
Dec 5, 2008
Author:
Marco Ruiz

Constructor Summary
PMacroLibrary()
           
 
Method Summary
 void addMacros(PMacroLibrary otherLib)
           
 java.lang.String getCategory()
           
 PMacro getInvocationMacro(PVariable var)
           
 java.util.List<PMacro> getMacros()
           
static void main(java.lang.String[] args)
           
static PMacroLibrary read(java.lang.String macroLib, boolean fileName)
           
 void setCategory(java.lang.String category)
           
 void setMacros(java.util.List<PMacro> macros)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PMacroLibrary

public PMacroLibrary()
Method Detail

read

public static PMacroLibrary read(java.lang.String macroLib,
                                 boolean fileName)
                          throws REXException,
                                 java.io.FileNotFoundException,
                                 java.io.IOException
Throws:
REXException
java.io.FileNotFoundException
java.io.IOException

getCategory

public java.lang.String getCategory()

setCategory

public void setCategory(java.lang.String category)

addMacros

public void addMacros(PMacroLibrary otherLib)

setMacros

public void setMacros(java.util.List<PMacro> macros)

getMacros

public java.util.List<PMacro> getMacros()

getInvocationMacro

public PMacro getInvocationMacro(PVariable var)

main

public static void main(java.lang.String[] args)
                 throws REXException,
                        java.io.IOException
Throws:
REXException
java.io.IOException


Copyright © 2007-2009. All Rights Reserved.