public class IlrArchiveManager
extends java.lang.Object
IlrRuleAppInformation instance or a Set of IlrRuleAppInformation instances to a RuleApp archive, and to load the IlrRuleAppInformation objects contained in the RuleApp archive.| Constructor and Description |
|---|
IlrArchiveManager() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Set<IlrMutableRuleAppInformation> |
read(IlrRepositoryFactory repositoryFactory,
java.util.jar.JarInputStream jarInputStream)
Creates the RuleApps and rulesets contained in a RuleApp archive.
|
void |
write(java.io.OutputStream outputStream,
IlrMutableRuleAppInformation ruleApp)
Backs up an
IlrRuleAppInformation objects to a RuleApp archive. |
void |
write(java.io.OutputStream outputStream,
java.util.Set<IlrMutableRuleAppInformation> ruleApps)
Backs up a Set of
IlrRuleAppInformation objects to a RuleApp archive. |
public void write(java.io.OutputStream outputStream,
java.util.Set<IlrMutableRuleAppInformation> ruleApps)
throws java.io.IOException,
IlrArchiveException
IlrRuleAppInformation objects to a RuleApp archive.IlrArchiveException - If an error occurred during the backup.java.io.IOException - If an input/output exception was raisedoutputStream - The output stream where the RuleApp archive will be stored. Cannot be null.ruleApps - a Set of IlrRuleAppInformation objects. Cannot be null or empty.public void write(java.io.OutputStream outputStream,
IlrMutableRuleAppInformation ruleApp)
throws java.io.IOException,
IlrArchiveException
IlrRuleAppInformation objects to a RuleApp archive.IlrArchiveException - If an error occurred during the backup.java.io.IOException - If an input/output exception was raisedoutputStream - The output stream where the RuleApp archive will be stored. Cannot be null.ruleApp - The RuleApp to back up. Cannot be null.public java.util.Set<IlrMutableRuleAppInformation> read(IlrRepositoryFactory repositoryFactory, java.util.jar.JarInputStream jarInputStream) throws java.io.IOException, IlrArchiveException
IlrArchiveException - If an error occurred during the load.java.io.IOException - If an input/output exception was raisedrepositoryFactory - The repository factory used to create the RuleApp and rulesets. Cannot be null.jarInputStream - The RuleApp archive. Cannot be null.IlrMutableRuleAppInformation objects. Cannot be null.© Copyright IBM Corp. 1987, 2017