|
Milyn-Smooks Version 0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.milyn.cdr.cdrar.CDRArchive
Represents an actual Transformation Unit Archive (cdrar) and its entries (JarEntry).
A CDRAR is a container for transformation resource and/or the archive definitions.
| Constructor Summary | |
CDRArchive(java.lang.String name)
Public Constructor. |
|
CDRArchive(java.lang.String name,
java.util.jar.JarInputStream cdrarStream)
Constructor. |
|
| Method Summary | |
void |
addArchiveDef(CDRConfig archiveDef)
Add and CDRConfig instance to this CDRArchive instance. |
void |
addEntries(CDRArchiveEntry[] cdrarEntries)
Add the supplied CDRArchiveEntry instances to this CDRArchive. |
CDRDef[] |
getCDRDefs(UAContext deviceContext)
Get all CDRDef entries for the specified device from this CDRArchive archive. |
java.util.Enumeration |
getEntries()
Get an enumeration of all the CDRArchiveEntry objects in this CDRArchive. |
protected CDRArchiveEntry |
getEntry(java.lang.String name)
Get the CDRArchiveEntry for the given name. |
java.lang.String |
getName()
Get the name of this cdrar file. |
protected int |
size()
Get the number of entries in the cdrar. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CDRArchive(java.lang.String name,
java.util.jar.JarInputStream cdrarStream)
throws InvalidCDRArchiveException,
java.io.IOException
cdrarStream - Archive stream.
java.io.IOException - Error reading the Archive.
InvalidCDRArchiveExceptionpublic CDRArchive(java.lang.String name)
addEntries(CDRArchiveEntry[]) and addArchiveDef(CDRConfig) methods.
name - The Archive name.| Method Detail |
public void addEntries(CDRArchiveEntry[] cdrarEntries)
cdrarEntries - Entries to be added.public void addArchiveDef(CDRConfig archiveDef)
archiveDef - The CDRConfig instance to be added.public java.lang.String getName()
protected CDRArchiveEntry getEntry(java.lang.String name)
name - The CDRArchiveEntry name.
public java.util.Enumeration getEntries()
public CDRDef[] getCDRDefs(UAContext deviceContext)
deviceContext - The device.
protected int size()
|
Milyn-Smooks Version 0.4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||