|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.plb4jedit.plb.Include
Represents a plb include. Keeps track of the objects of interest in an include, which are global
accessible variable and label definitions and a list of other included includes.
Instances should be received by the IncludeCache, so there is no public constructor.
Constructor Summary | |
protected |
Include(String absolutePath)
constructs an Include object from the file specified by its absolute path. |
Method Summary | |
Map |
getGlobalLabels()
|
Map |
getGlobalVariables()
|
List |
getIncs()
|
static Include |
getInstance(String absolutePath)
gives access to Include Instances via an IncludeCache. |
static void |
main(String[] args)
main method for testing purpose. Constructs an include object for the given absolute path as first command line argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected Include(String absolutePath) throws FileNotFoundException, IOException
absolutePath
- to the location of an include
FileNotFoundException
- if a File specified by absolutePath can not be instantiated
IOException
- if a File specified by absolutePath can not be instantiatedMethod Detail |
public static Include getInstance(String absolutePath) throws FileNotFoundException, IOException
absolutePath
- to the location of an include
FileNotFoundException
IOException
public static void main(String[] args) throws FileNotFoundException, IOException
args
- absolute path to an include.
FileNotFoundException
IOException
public Map getGlobalLabels()
public Map getGlobalVariables()
public List getIncs()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |