|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.jstatcom.engine.gauss.LIBSet
public final class LIBSet
This class stores information to create the GAUSS lcg files from the source files.
| Nested Class Summary | |
|---|---|
static class |
LIBSet.SRCLibPair
Innter class that stores a libraryname - sourcefile mapping. |
| Field Summary | |
|---|---|
java.lang.String |
LIBS
|
static javolution.xml.XmlFormat<LIBSet> |
LIBSet_XML
XML format field for (de)serialization. |
| Constructor Summary | |
|---|---|
LIBSet(java.lang.String libraries)
Creates an empty LIBSet. |
|
| Method Summary | |
|---|---|
void |
addSRCLibMapping(java.lang.String libName,
java.lang.String fileName)
Adds a sourcefile - libraryname mapping to the list. |
java.util.Iterator |
iterator()
Gets a list iterator for libname - sourcefile pairs. |
static void |
main(java.lang.String[] args)
Generates GAUSS lcg libraries from source files according to the settings for GaussEngine. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final java.lang.String LIBS
public static final javolution.xml.XmlFormat<LIBSet> LIBSet_XML
| Constructor Detail |
|---|
public LIBSet(java.lang.String libraries)
LIBSet.
libraries - comma separated libraries to load before calling compile| Method Detail |
|---|
public static void main(java.lang.String[] args)
GaussEngine.
args - this is ignored
public void addSRCLibMapping(java.lang.String libName,
java.lang.String fileName)
libName - the library that should reference fileNamefileName - the src file to add
java.lang.RuntimeException - if the sourcefile does not exist or if libName
is empty
java.lang.IllegalArgumentException - if (fileName == null || libName == null)public java.util.Iterator iterator()
The pairs are stored as instances of LIBSet.SRCLibPair.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||