diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
| commit | 40a9d99496e098562f090fb7ffce9e749011b131 (patch) | |
| tree | 437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOMailDelivery.java | |
| parent | ff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff) | |
Formatting pass
Diffstat (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOMailDelivery.java')
| -rw-r--r-- | projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOMailDelivery.java | 52 |
1 files changed, 24 insertions, 28 deletions
diff --git a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOMailDelivery.java b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOMailDelivery.java index eccc489..69939f9 100644 --- a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOMailDelivery.java +++ b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOMailDelivery.java @@ -21,34 +21,30 @@ package net.wotonomy.web; import java.util.List; /** -* A pure java implementation of WOMailDelivery. -* -* @author michael@mpowers.net -* @author $Author: cgruber $ -* @version $Revision: 905 $ -*/ -public abstract class WOMailDelivery -{ + * A pure java implementation of WOMailDelivery. + * + * @author michael@mpowers.net + * @author $Author: cgruber $ + * @version $Revision: 905 $ + */ +public abstract class WOMailDelivery { private static WOMailDelivery sharedInstance; - - protected WOMailDelivery () - { - } - - public static WOMailDelivery sharedInstance () - { - if ( sharedInstance == null ) - { + + protected WOMailDelivery() { + } + + public static WOMailDelivery sharedInstance() { + if (sharedInstance == null) { // sharedInstance = new WOMailDelivery(); - } - return sharedInstance; - } - - public abstract String composePlainTextEmail ( - String aSender, List aToList, List aCcList, - String aSubject, String aMessage, boolean sendImmediately ); - public abstract String composeComponentEmail ( - String aSender, List aToList, List aCcList, - String aSubject, WOComponent aComponent, boolean sendImmediately ); - public abstract void sendEmail (String aMailMessage); + } + return sharedInstance; + } + + public abstract String composePlainTextEmail(String aSender, List aToList, List aCcList, String aSubject, + String aMessage, boolean sendImmediately); + + public abstract String composeComponentEmail(String aSender, List aToList, List aCcList, String aSubject, + WOComponent aComponent, boolean sendImmediately); + + public abstract void sendEmail(String aMailMessage); } |
