public class Cas
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
The main program for the Cas class
|
void |
storeinDB(org.dlese.dpc.services.cas.Rec[] records,
int numrecords)
store the records' info in the CAS database
|
public static void main(java.lang.String[] args) throws CasException, MmdException, javax.mail.MessagingException, java.io.IOException, javax.mail.NoSuchProviderException, XMLException
args
- The command line arguments which are
props = [properties file name] #Required
send_emails = [true|false]CasException
MmdException
XMLException
javax.mail.MessagingException
java.io.IOException
javax.mail.NoSuchProviderException
public void storeinDB(org.dlese.dpc.services.cas.Rec[] records, int numrecords) throws CasException, MmdException, XMLException
records
- array of Records returned by the DDSnumrecords
- total number of RecordsCasException
MmdException
XMLException