|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectutil.PropertyContainer
util.PropertyResources
util.PropertyBundles
util.Mailer
stella.log.Calima
public class Calima
We scan a webpage for calima warnings.
| Nested Class Summary | |
|---|---|
private static class |
Calima.Div
|
| Nested classes/interfaces inherited from class util.Mailer |
|---|
Mailer.Google |
| Nested classes/interfaces inherited from class util.PropertyResources |
|---|
PropertyResources.URLResource |
| Field Summary | |
|---|---|
private static String |
DEFCALIMAPREDICT
The weather report for current calima situation . |
private static String |
DEFCALIMATODAY
The weather report for current calima situation . |
private static boolean |
DEFDEBUG
The default debuggin mode. |
private static String |
DEFFROM
The default from address. |
private static String |
DEFGENERALTO
The default from address. |
private static String |
FOUND
|
static String |
KEY_BCC
Address list of the recipients, bcc-type. |
static String |
KEY_CALIMAPREDICT
The key to the predicted calima situation . |
static String |
KEY_CALIMATODAY
The key to the current calima situation . |
static String |
KEY_CC
Address list of the recipients, cc-type. |
static String |
KEY_DEBUG
If true, mail-delivery is blocked for debugging mode. |
static String |
KEY_FROM
Address of the sender, with or without domain. |
static String |
KEY_GENERALTO
Address list of the recipients of the general report. |
| Fields inherited from class util.Mailer |
|---|
KEY_PASSWORD, KEY_SMTPHOST, KEY_SMTPPORT, KEY_USERNAME, KEY_USESSL, STELLAMAINTENANCE, STELLAROBOTIC |
| Fields inherited from class util.PropertyBundles |
|---|
KEY_LOCALECOUNTRY, KEY_LOCALELANGUAGE, KEY_RESOURCEBUNDLES |
| Fields inherited from class util.PropertyResources |
|---|
KEY_NOINITONCREATE, localurl, locate, POSTFIX_DIR, POSTFIX_EXT, POSTFIX_FILE, POSTFIX_LIST, POSTFIX_URL, urlset |
| Fields inherited from class util.PropertyContainer |
|---|
KEY_LISTSEPARATOR, KEY_MAPKEYVALUECHAR, KEY_MAPSEPARATOR |
| Fields inherited from interface util.ResourceSupplying |
|---|
KEY_URLRESOURCES, KEY_URLUSECONFIG, KEY_URLUSECURRENT, KEY_URLUSEHOME |
| Fields inherited from interface util.PropertySupplying |
|---|
CONFIG, KEY_CLASS |
| Constructor Summary | |
|---|---|
Calima(Map<String,String> prop)
|
|
| Method Summary | |
|---|---|
private void |
checkCalima(String day,
List<String> text)
|
void |
init()
We prepare the session for sending mail. |
static void |
main(String[] arg)
|
| Methods inherited from class util.Mailer |
|---|
close, createStellaRoboticMailer, getAddresses, getStellaMaintenance, getStellaRobotic, prepareMail, sendMail, sendMail, threadMail |
| Methods inherited from class util.PropertyBundles |
|---|
clone, getLocalized, getLocalized, getLocalizedString, getLocalizedString, loadResource |
| Methods inherited from class util.PropertyResources |
|---|
createFrom, createFrom, createFrom, getApplet, getAsResources, getLocalClassLoader, getPropertiesToKey, getPropertiesToKey, getResource, getResourceAsStream, getResourceFromKey, getResources, keyCreate, keyCreate, reload, setApplet |
| Methods inherited from class util.PropertyContainer |
|---|
augment, augment, augment, defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsEnums, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, isNew, parseObject, reload, removeProperty, rescanned, setObject, setProperties, setProperty, stringProperties, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface util.ResourceSupplying |
|---|
getResource, getResourceAsStream, getResources |
| Methods inherited from interface util.PropertySupplying |
|---|
defaultBoolean, defaultChar, defaultDouble, defaultFloat, defaultInt, defaultLong, defaultObject, defaultObject, defaultProperties, defaultProperty, getAsBoolean, getAsChar, getAsDouble, getAsFloat, getAsInt, getAsList, getAsLong, getAsMap, getAsObject, getAsObject, getProperties, getProperty, has, parseObject, removeProperty, setObject, setProperty, stringProperties |
| Field Detail |
|---|
public static final String KEY_CALIMATODAY
public static final String KEY_CALIMAPREDICT
public static final String KEY_FROM
public static final String KEY_GENERALTO
public static final String KEY_CC
public static final String KEY_BCC
public static final String KEY_DEBUG
private static final String DEFFROM
private static final String DEFGENERALTO
private static final String DEFCALIMATODAY
private static final String DEFCALIMAPREDICT
private static final boolean DEFDEBUG
private static String FOUND
| Constructor Detail |
|---|
public Calima(Map<String,String> prop)
| Method Detail |
|---|
public void init()
Mailer
init in interface Initializableinit in class Mailer
private void checkCalima(String day,
List<String> text)
throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
public static void main(String[] arg)
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||