orc.lib.net
Class Mail

java.lang.Object
  extended by orc.runtime.values.Value
      extended by orc.runtime.sites.Site
          extended by orc.runtime.sites.EvalSite
              extended by orc.runtime.sites.DotSite
                  extended by orc.lib.net.Mail
All Implemented Interfaces:
Callable, Future

public class Mail
extends DotSite

Wrapper around JavaMail API for reading and sending mail. For the most part this follows a subset of the JavaMail API, except some methods are renamed or tweaked to be slightly more idiomatic Orc and to avoid having to create too many temporary objects. Main methods:

Author:
quark

Nested Class Summary
static class Mail.MailFilter
          Filter for a MailFolder.
static class Mail.MailFolder
          Folder containing messages or subfolders.
static class Mail.MailMessage
          Message being composed or viewed from a store.
static class Mail.MailStore
          Mailbox.
static class Mail.MailTransport
          Outgoing transport (SMTP).
 
Constructor Summary
Mail()
           
 
Method Summary
protected  void addMethods()
           
 
Methods inherited from class orc.runtime.sites.DotSite
addMethod, evaluate
 
Methods inherited from class orc.runtime.sites.EvalSite
callSite
 
Methods inherited from class orc.runtime.sites.Site
accept, createCall
 
Methods inherited from class orc.runtime.values.Value
forceArg, forceCall, head, isCons, isNil, isNone, isSome, signal, tail, untag
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Mail

public Mail()
Method Detail

addMethods

protected void addMethods()
Specified by:
addMethods in class DotSite