commons-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r952406 [29/42] - in /websites/production/commons/content/proper/commons-email: ./ apidocs/ apidocs/org/apache/commons/mail/ apidocs/org/apache/commons/mail/class-use/ apidocs/org/apache/commons/mail/resolver/ apidocs/org/apache/commons/mai...
Date Sat, 23 May 2015 06:51:00 GMT
Added: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/MultiPartEmail.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/MultiPartEmail.java.html (added)
+++ websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/MultiPartEmail.java.html Sat May 23 06:50:57 2015
@@ -0,0 +1,591 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>MultiPartEmail.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Email</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.mail</a> &gt; <span class="el_source">MultiPartEmail.java</span></div><h
 1>MultiPartEmail.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.mail;
+
+import java.io.File;
+import java.io.IOException;
+import java.io.InputStream;
+import java.io.UnsupportedEncodingException;
+import java.net.URL;
+
+import javax.activation.DataHandler;
+import javax.activation.DataSource;
+import javax.activation.FileDataSource;
+import javax.activation.URLDataSource;
+import javax.mail.BodyPart;
+import javax.mail.MessagingException;
+import javax.mail.internet.MimeBodyPart;
+import javax.mail.internet.MimeMultipart;
+import javax.mail.internet.MimePart;
+import javax.mail.internet.MimeUtility;
+
+/**
+ * A multipart email.
+ *
+ * &lt;p&gt;This class is used to send multi-part internet email like
+ * messages with attachments.
+ *
+ * &lt;p&gt;To create a multi-part email, call the default constructor and
+ * then you can call setMsg() to set the message and call the
+ * different attach() methods.
+ *
+ * @since 1.0
+ * @version $Id$
+ */
+<span class="fc" id="L49">public class MultiPartEmail extends Email</span>
+{
+    /** Body portion of the email. */
+    private MimeMultipart container;
+
+    /** The message container. */
+    private BodyPart primaryBodyPart;
+
+    /** The MIME subtype. */
+    private String subType;
+
+    /** Indicates if the message has been initialized. */
+    private boolean initialized;
+
+    /** Indicates if attachments have been added to the message. */
+    private boolean boolHasAttachments;
+
+    /**
+     * Set the MIME subtype of the email.
+     *
+     * @param aSubType MIME subtype of the email
+     * @since 1.0
+     */
+    public void setSubType(final String aSubType)
+    {
+<span class="nc" id="L74">        this.subType = aSubType;</span>
+<span class="nc" id="L75">    }</span>
+
+    /**
+     * Get the MIME subtype of the email.
+     *
+     * @return MIME subtype of the email
+     * @since 1.0
+     */
+    public String getSubType()
+    {
+<span class="nc" id="L85">        return subType;</span>
+    }
+
+    /**
+     * Add a new part to the email.
+     *
+     * @param partContent The content.
+     * @param partContentType The content type.
+     * @return An Email.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    public Email addPart(final String partContent, final String partContentType)
+        throws EmailException
+    {
+<span class="nc" id="L101">            final BodyPart bodyPart = createBodyPart();</span>
+        try
+        {
+<span class="nc" id="L104">            bodyPart.setContent(partContent, partContentType);</span>
+<span class="nc" id="L105">            getContainer().addBodyPart(bodyPart);</span>
+        }
+<span class="nc" id="L107">        catch (final MessagingException me)</span>
+        {
+<span class="nc" id="L109">            throw new EmailException(me);</span>
+<span class="nc" id="L110">        }</span>
+
+<span class="nc" id="L112">        return this;</span>
+    }
+
+    /**
+     * Add a new part to the email.
+     *
+     * @param multipart The MimeMultipart.
+     * @return An Email.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     *  @since 1.0
+     */
+    public Email addPart(final MimeMultipart multipart) throws EmailException
+    {
+        try
+        {
+<span class="nc" id="L128">            return addPart(multipart, getContainer().getCount());</span>
+        }
+<span class="nc" id="L130">        catch (final MessagingException me)</span>
+        {
+<span class="nc" id="L132">            throw new EmailException(me);</span>
+        }
+    }
+
+    /**
+     * Add a new part to the email.
+     *
+     * @param multipart The part to add.
+     * @param index The index to add at.
+     * @return The email.
+     * @throws EmailException An error occurred while adding the part.
+     * @since 1.0
+     */
+    public Email addPart(final MimeMultipart multipart, final int index) throws EmailException
+    {
+<span class="fc" id="L147">        final BodyPart bodyPart = createBodyPart();</span>
+        try
+        {
+<span class="fc" id="L150">            bodyPart.setContent(multipart);</span>
+<span class="fc" id="L151">            getContainer().addBodyPart(bodyPart, index);</span>
+        }
+<span class="nc" id="L153">        catch (final MessagingException me)</span>
+        {
+<span class="nc" id="L155">            throw new EmailException(me);</span>
+<span class="fc" id="L156">        }</span>
+
+<span class="fc" id="L158">        return this;</span>
+    }
+
+    /**
+     * Initialize the multipart email.
+     * @since 1.0
+     */
+    protected void init()
+    {
+<span class="pc bpc" id="L167" title="1 of 2 branches missed.">        if (initialized)</span>
+        {
+<span class="nc" id="L169">            throw new IllegalStateException(&quot;Already initialized&quot;);</span>
+        }
+
+<span class="fc" id="L172">        container = createMimeMultipart();</span>
+<span class="fc" id="L173">        super.setContent(container);</span>
+
+<span class="fc" id="L175">        initialized = true;</span>
+<span class="fc" id="L176">    }</span>
+
+    /**
+     * Set the message of the email.
+     *
+     * @param msg A String.
+     * @return An Email.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    @Override
+    public Email setMsg(final String msg) throws EmailException
+    {
+        // throw exception on null message
+<span class="pc bpc" id="L191" title="1 of 2 branches missed.">        if (EmailUtils.isEmpty(msg))</span>
+        {
+<span class="nc" id="L193">            throw new EmailException(&quot;Invalid message supplied&quot;);</span>
+        }
+        try
+        {
+<span class="fc" id="L197">            final BodyPart primary = getPrimaryBodyPart();</span>
+
+<span class="pc bpc" id="L199" title="2 of 4 branches missed.">            if (primary instanceof MimePart &amp;&amp; EmailUtils.isNotEmpty(charset))</span>
+            {
+<span class="fc" id="L201">                ((MimePart) primary).setText(msg, charset);</span>
+            }
+            else
+            {
+<span class="nc" id="L205">                primary.setText(msg);</span>
+            }
+        }
+<span class="nc" id="L208">        catch (final MessagingException me)</span>
+        {
+<span class="nc" id="L210">            throw new EmailException(me);</span>
+<span class="fc" id="L211">        }</span>
+<span class="fc" id="L212">        return this;</span>
+    }
+
+    /**
+     * Does the work of actually building the MimeMessage. Please note that
+     * a user rarely calls this method directly and only if he/she is
+     * interested in the sending the underlying MimeMessage without
+     * commons-email.
+     *
+     * @exception EmailException if there was an error.
+     * @since 1.0
+     */
+    @Override
+    public void buildMimeMessage() throws EmailException
+    {
+        try
+        {
+<span class="fc bfc" id="L229" title="All 2 branches covered.">            if (primaryBodyPart != null)</span>
+            {
+                // before a multipart message can be sent, we must make sure that
+                // the content for the main body part was actually set.  If not,
+                // an IOException will be thrown during super.send().
+
+<span class="fc" id="L235">                final BodyPart body = this.getPrimaryBodyPart();</span>
+                try
+                {
+<span class="fc" id="L238">                    body.getContent();</span>
+                }
+<span class="nc" id="L240">                catch (final IOException e) // NOPMD</span>
+                {
+                    // do nothing here.
+                    // content will be set to an empty string as a result.
+                    // (Should this really be rethrown as an email exception?)
+                    // throw new EmailException(e);
+<span class="fc" id="L246">                }</span>
+            }
+
+<span class="pc bpc" id="L249" title="1 of 2 branches missed.">            if (subType != null)</span>
+            {
+<span class="nc" id="L251">                getContainer().setSubType(subType);</span>
+            }
+
+<span class="fc" id="L254">            super.buildMimeMessage();</span>
+        }
+<span class="nc" id="L256">        catch (final MessagingException me)</span>
+        {
+<span class="nc" id="L258">            throw new EmailException(me);</span>
+<span class="fc" id="L259">        }</span>
+<span class="fc" id="L260">    }</span>
+
+    /**
+     * Attach a file.
+     *
+     * @param file A file attachment
+     * @return A MultiPartEmail.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.3
+     */
+    public MultiPartEmail attach(final File file)
+        throws EmailException
+    {
+<span class="fc" id="L274">        final String fileName = file.getAbsolutePath();</span>
+
+        try
+        {
+<span class="pc bpc" id="L278" title="1 of 2 branches missed.">            if (!file.exists())</span>
+            {
+<span class="nc" id="L280">                throw new IOException(&quot;\&quot;&quot; + fileName + &quot;\&quot; does not exist&quot;);</span>
+            }
+
+<span class="fc" id="L283">            final FileDataSource fds = new FileDataSource(file);</span>
+
+<span class="fc" id="L285">            return attach(fds, file.getName(), null, EmailAttachment.ATTACHMENT);</span>
+        }
+<span class="nc" id="L287">        catch (final IOException e)</span>
+        {
+<span class="nc" id="L289">            throw new EmailException(&quot;Cannot attach file \&quot;&quot; + fileName + &quot;\&quot;&quot;, e);</span>
+        }
+    }
+
+    /**
+     * Attach an EmailAttachment.
+     *
+     * @param attachment An EmailAttachment.
+     * @return A MultiPartEmail.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    public MultiPartEmail attach(final EmailAttachment attachment)
+        throws EmailException
+    {
+<span class="fc" id="L305">        MultiPartEmail result = null;</span>
+
+<span class="pc bpc" id="L307" title="1 of 2 branches missed.">        if (attachment == null)</span>
+        {
+<span class="nc" id="L309">            throw new EmailException(&quot;Invalid attachment supplied&quot;);</span>
+        }
+
+<span class="fc" id="L312">        final URL url = attachment.getURL();</span>
+
+<span class="pc bpc" id="L314" title="1 of 2 branches missed.">        if (url == null)</span>
+        {
+<span class="fc" id="L316">            String fileName = null;</span>
+            try
+            {
+<span class="fc" id="L319">                fileName = attachment.getPath();</span>
+<span class="fc" id="L320">                final File file = new File(fileName);</span>
+<span class="pc bpc" id="L321" title="1 of 2 branches missed.">                if (!file.exists())</span>
+                {
+<span class="nc" id="L323">                    throw new IOException(&quot;\&quot;&quot; + fileName + &quot;\&quot; does not exist&quot;);</span>
+                }
+<span class="fc" id="L325">                result =</span>
+                    attach(
+                        new FileDataSource(file),
+                        attachment.getName(),
+                        attachment.getDescription(),
+                        attachment.getDisposition());
+            }
+<span class="nc" id="L332">            catch (final IOException e)</span>
+            {
+<span class="nc" id="L334">                throw new EmailException(&quot;Cannot attach file \&quot;&quot; + fileName + &quot;\&quot;&quot;, e);</span>
+<span class="fc" id="L335">            }</span>
+<span class="fc" id="L336">        }</span>
+        else
+        {
+<span class="nc" id="L339">            result =</span>
+                attach(
+                    url,
+                    attachment.getName(),
+                    attachment.getDescription(),
+                    attachment.getDisposition());
+        }
+
+<span class="fc" id="L347">        return result;</span>
+    }
+
+    /**
+     * Attach a file located by its URL.  The disposition of the file
+     * is set to mixed.
+     *
+     * @param url The URL of the file (may be any valid URL).
+     * @param name The name field for the attachment.
+     * @param description A description for the attachment.
+     * @return A MultiPartEmail.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    public MultiPartEmail attach(final URL url, final String name, final String description)
+        throws EmailException
+    {
+<span class="fc" id="L365">        return attach(url, name, description, EmailAttachment.ATTACHMENT);</span>
+    }
+
+    /**
+     * Attach a file located by its URL.
+     *
+     * @param url The URL of the file (may be any valid URL).
+     * @param name The name field for the attachment.
+     * @param description A description for the attachment.
+     * @param disposition Either mixed or inline.
+     * @return A MultiPartEmail.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    public MultiPartEmail attach(
+        final URL url,
+        final String name,
+        final String description,
+        final String disposition)
+        throws EmailException
+    {
+        // verify that the URL is valid
+       try
+       {
+<span class="fc" id="L390">           final InputStream is = url.openStream();</span>
+<span class="fc" id="L391">           is.close();</span>
+       }
+<span class="nc" id="L393">       catch (final IOException e)</span>
+       {
+<span class="nc" id="L395">           throw new EmailException(&quot;Invalid URL set:&quot; + url, e);</span>
+<span class="fc" id="L396">       }</span>
+
+<span class="fc" id="L398">       return attach(new URLDataSource(url), name, description, disposition);</span>
+    }
+
+    /**
+     * Attach a file specified as a DataSource interface.
+     *
+     * @param ds A DataSource interface for the file.
+     * @param name The name field for the attachment.
+     * @param description A description for the attachment.
+     * @return A MultiPartEmail.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    public MultiPartEmail attach(
+        final DataSource ds,
+        final String name,
+        final String description)
+        throws EmailException
+    {
+        // verify that the DataSource is valid
+        try
+        {
+<span class="pc bpc" id="L421" title="1 of 2 branches missed.">            final InputStream is = ds != null ? ds.getInputStream() : null;</span>
+<span class="pc bpc" id="L422" title="1 of 2 branches missed.">            if (is != null)</span>
+            {
+                // close the input stream to prevent file locking on windows
+<span class="fc" id="L425">                is.close();</span>
+            }
+
+<span class="pc bpc" id="L428" title="1 of 2 branches missed.">            if (is == null)</span>
+            {
+<span class="nc" id="L430">                throw new EmailException(&quot;Invalid Datasource&quot;);</span>
+            }
+        }
+<span class="nc" id="L433">        catch (final IOException e)</span>
+        {
+<span class="nc" id="L435">            throw new EmailException(&quot;Invalid Datasource&quot;, e);</span>
+<span class="fc" id="L436">        }</span>
+
+<span class="fc" id="L438">        return attach(ds, name, description, EmailAttachment.ATTACHMENT);</span>
+    }
+
+    /**
+     * Attach a file specified as a DataSource interface.
+     *
+     * @param ds A DataSource interface for the file.
+     * @param name The name field for the attachment.
+     * @param description A description for the attachment.
+     * @param disposition Either mixed or inline.
+     * @return A MultiPartEmail.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    public MultiPartEmail attach(
+        final DataSource ds,
+        String name,
+        final String description,
+        final String disposition)
+        throws EmailException
+    {
+<span class="pc bpc" id="L460" title="1 of 2 branches missed.">        if (EmailUtils.isEmpty(name))</span>
+        {
+<span class="nc" id="L462">            name = ds.getName();</span>
+        }
+<span class="fc" id="L464">        final BodyPart bodyPart = createBodyPart();</span>
+        try
+        {
+<span class="fc" id="L467">            bodyPart.setDisposition(disposition);</span>
+<span class="fc" id="L468">            bodyPart.setFileName(MimeUtility.encodeText(name));</span>
+<span class="fc" id="L469">            bodyPart.setDescription(description);</span>
+<span class="fc" id="L470">            bodyPart.setDataHandler(new DataHandler(ds));</span>
+
+<span class="fc" id="L472">            getContainer().addBodyPart(bodyPart);</span>
+        }
+<span class="nc" id="L474">        catch (final UnsupportedEncodingException uee)</span>
+        {
+            // in case the filename could not be encoded
+<span class="nc" id="L477">            throw new EmailException(uee);</span>
+        }
+<span class="nc" id="L479">        catch (final MessagingException me)</span>
+        {
+<span class="nc" id="L481">            throw new EmailException(me);</span>
+<span class="fc" id="L482">        }</span>
+<span class="fc" id="L483">        setBoolHasAttachments(true);</span>
+
+<span class="fc" id="L485">        return this;</span>
+    }
+
+    /**
+     * Gets first body part of the message.
+     *
+     * @return The primary body part.
+     * @throws MessagingException An error occurred while getting the primary body part.
+     * @since 1.0
+     */
+    protected BodyPart getPrimaryBodyPart() throws MessagingException
+    {
+<span class="fc bfc" id="L497" title="All 2 branches covered.">        if (!initialized)</span>
+        {
+<span class="fc" id="L499">            init();</span>
+        }
+
+        // Add the first body part to the message.  The fist body part must be
+<span class="fc bfc" id="L503" title="All 2 branches covered.">        if (this.primaryBodyPart == null)</span>
+        {
+<span class="fc" id="L505">            primaryBodyPart = createBodyPart();</span>
+<span class="fc" id="L506">            getContainer().addBodyPart(primaryBodyPart, 0);</span>
+        }
+
+<span class="fc" id="L509">        return primaryBodyPart;</span>
+    }
+
+    /**
+     * Gets the message container.
+     *
+     * @return The message container.
+     * @since 1.0
+     */
+    protected MimeMultipart getContainer()
+    {
+<span class="fc bfc" id="L520" title="All 2 branches covered.">        if (!initialized)</span>
+        {
+<span class="fc" id="L522">            init();</span>
+        }
+<span class="fc" id="L524">        return container;</span>
+    }
+
+    /**
+     * Creates a body part object.
+     * Can be overridden if you don't want to create a BodyPart.
+     *
+     * @return the created body part
+     */
+    protected BodyPart createBodyPart()
+    {
+<span class="fc" id="L535">        return new MimeBodyPart();</span>
+    }
+
+    /**
+     * Creates a mime multipart object.
+     *
+     * @return the created mime part
+     */
+    protected MimeMultipart createMimeMultipart()
+    {
+<span class="fc" id="L545">        return new MimeMultipart();</span>
+    }
+
+    /**
+     * Checks whether there are attachments.
+     *
+     * @return true if there are attachments
+     * @since 1.0
+     */
+    public boolean isBoolHasAttachments()
+    {
+<span class="fc" id="L556">        return boolHasAttachments;</span>
+    }
+
+    /**
+     * Sets whether there are attachments.
+     *
+     * @param b  the attachments flag
+     * @since 1.0
+     */
+    public void setBoolHasAttachments(final boolean b)
+    {
+<span class="fc" id="L567">        boolHasAttachments = b;</span>
+<span class="fc" id="L568">    }</span>
+
+    /**
+     * Checks if this object is initialized.
+     *
+     * @return true if initialized
+     */
+    protected boolean isInitialized()
+    {
+<span class="nc" id="L577">        return initialized;</span>
+    }
+
+    /**
+     * Sets the initialized status of this object.
+     *
+     * @param b  the initialized status flag
+     */
+    protected void setInitialized(final boolean b)
+    {
+<span class="nc" id="L587">        initialized = b;</span>
+<span class="nc" id="L588">    }</span>
+
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/MultiPartEmail.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/MultiPartEmail.java.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/MultiPartEmail.java.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.html (added)
+++ websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.html Sat May 23 06:50:57 2015
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>SimpleEmail</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Email</a> &gt; <a href="index.html" class="el_package">org.apache.commons.mail</a> &gt; <span class="el_class">SimpleEmail</span></div><h1>SimpleEmail</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="
 a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">0 of 17</td><td class="ctr2">100%</td><td class="bar">0 of 2</td><td class="ctr2">100%</td><td class="ctr1">0</td><td class="ctr2">3</td><td class="ctr1">0</td><td class="c
 tr2">5</td><td class="ctr1">0</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a href="SimpleEmail.java.html#L40" class="el_method">setMsg(String)</a></td><td class="bar" id="b0"><img src="../.resources/greenbar.gif" width="120" height="10" title="14" alt="14"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d0"><img src="../.resources/greenbar.gif" width="120" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f0">0</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h0">0</td><td class="ctr2" id="i0">4</td><td class="ctr1" id="j0">0</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="SimpleEmail.java.html#L26" class="el_method">SimpleEmail()</a></td><td class="bar" id="b1"><img src="../.resources/greenbar.gif" width="25" height="10" title="3" alt="3"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g
 1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.java.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.java.html (added)
+++ websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.java.html Sat May 23 06:50:57 2015
@@ -0,0 +1,49 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>SimpleEmail.java</title><link rel="stylesheet" href="../.resources/prettify.css" type="text/css"/><script type="text/javascript" src="../.resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Email</a> &gt; <a href="index.source.html" class="el_package">org.apache.commons.mail</a> &gt; <span class="el_source">SimpleEmail.java</span></div><h1>Simp
 leEmail.java</h1><pre class="source lang-java linenums">/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the &quot;License&quot;); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an &quot;AS IS&quot; BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.commons.mail;
+
+/**
+ * This class is used to send simple internet email messages without
+ * attachments.
+ *
+ * @since 1.0
+ * @version $Id$
+*/
+<span class="fc" id="L26">public class SimpleEmail extends Email</span>
+{
+    /**
+     * Set the content of the mail.
+     *
+     * @param msg A String.
+     * @return An Email.
+     * @throws EmailException see javax.mail.internet.MimeBodyPart
+     *  for definitions
+     * @since 1.0
+     */
+    @Override
+    public Email setMsg(final String msg) throws EmailException
+    {
+<span class="fc bfc" id="L40" title="All 2 branches covered.">        if (EmailUtils.isEmpty(msg))</span>
+        {
+<span class="fc" id="L42">            throw new EmailException(&quot;Invalid message supplied&quot;);</span>
+        }
+
+<span class="fc" id="L45">        setContent(msg, EmailConstants.TEXT_PLAIN);</span>
+<span class="fc" id="L46">        return this;</span>
+    }
+}
+</pre><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.java.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.java.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/SimpleEmail.java.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.html (added)
+++ websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.html Sat May 23 06:50:57 2015
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.mail</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.source.html" class="el_source">Source Files</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Email</a> &gt; <span class="el_package">org.apache.commons.mail</span></div><h1>org.apache.commons.mail</h1><table class="coverage" cellspacing="0" id="coverag
 etable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><
 td class="bar">1,108 of 3,315</td><td class="ctr2">67%</td><td class="bar">138 of 364</td><td class="ctr2">62%</td><td class="ctr1">146</td><td class="ctr2">350</td><td class="ctr1">249</td><td class="ctr2">803</td><td class="ctr1">42</td><td class="ctr2">168</td><td class="ctr1">2</td><td class="ctr2">12</td></tr></tfoot><tbody><tr><td id="a7"><a href="HtmlEmail.html" class="el_class">HtmlEmail</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="27" height="10" title="323" alt="323"/><img src="../.resources/greenbar.gif" width="28" height="10" title="326" alt="326"/></td><td class="ctr2" id="c7">50%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="17" height="10" title="25" alt="25"/><img src="../.resources/greenbar.gif" width="25" height="10" title="35" alt="35"/></td><td class="ctr2" id="e5">58%</td><td class="ctr1" id="f1">23</td><td class="ctr2" id="g1">42</td><td class="ctr1" id="h1">54</td><td class="ctr2" id="i1">136</td><td class
 ="ctr1" id="j5">3</td><td class="ctr2" id="k2">12</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m0">1</td></tr><tr><td id="a2"><a href="Email.html" class="el_class">Email</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="20" height="10" title="237" alt="237"/><img src="../.resources/greenbar.gif" width="99" height="10" title="1,151" alt="1,151"/></td><td class="ctr2" id="c4">83%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="31" height="10" title="44" alt="44"/><img src="../.resources/greenbar.gif" width="88" height="10" title="124" alt="124"/></td><td class="ctr2" id="e1">74%</td><td class="ctr1" id="f0">48</td><td class="ctr2" id="g0">164</td><td class="ctr1" id="h0">61</td><td class="ctr2" id="i0">323</td><td class="ctr1" id="j0">14</td><td class="ctr2" id="k0">80</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a0"><a href="ByteArrayDataSource.html" class="el_class">ByteArrayDataSource</
 a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="17" height="10" title="204" alt="204"/></td><td class="ctr2" id="c10">0%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="18" height="10" title="26" alt="26"/></td><td class="ctr2" id="e6">0%</td><td class="ctr1" id="f2">22</td><td class="ctr2" id="g4">22</td><td class="ctr1" id="h2">51</td><td class="ctr2" id="i4">51</td><td class="ctr1" id="j1">9</td><td class="ctr2" id="k4">9</td><td class="ctr1" id="l0">1</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a10"><a href="MultiPartEmail.html" class="el_class">MultiPartEmail</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="17" height="10" title="201" alt="201"/><img src="../.resources/greenbar.gif" width="21" height="10" title="249" alt="249"/></td><td class="ctr2" id="c6">55%</td><td class="bar" id="d4"><img src="../.resources/redbar.gif" width="9" height="10" title="13" alt="13"/><img src="../.resources/greenb
 ar.gif" width="15" height="10" title="21" alt="21"/></td><td class="ctr2" id="e4">62%</td><td class="ctr1" id="f3">19</td><td class="ctr2" id="g2">40</td><td class="ctr1" id="h3">45</td><td class="ctr2" id="i2">121</td><td class="ctr1" id="j2">6</td><td class="ctr2" id="k1">23</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a6"><a href="EmailUtils.html" class="el_class">EmailUtils</a></td><td class="bar" id="b4"><img src="../.resources/redbar.gif" width="4" height="10" title="52" alt="52"/><img src="../.resources/greenbar.gif" width="20" height="10" title="237" alt="237"/></td><td class="ctr2" id="c5">82%</td><td class="bar" id="d3"><img src="../.resources/redbar.gif" width="15" height="10" title="22" alt="22"/><img src="../.resources/greenbar.gif" width="25" height="10" title="36" alt="36"/></td><td class="ctr2" id="e3">62%</td><td class="ctr1" id="f4">19</td><td class="ctr2" id="g3">38</td><td class="ctr1" id="h5">10</td><td class="ctr2" id="i3">
 67</td><td class="ctr1" id="j6">1</td><td class="ctr2" id="k5">9</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a5"><a href="EmailException.html" class="el_class">EmailException</a></td><td class="bar" id="b5"><img src="../.resources/redbar.gif" width="4" height="10" title="47" alt="47"/><img src="../.resources/greenbar.gif" width="1" height="10" title="13" alt="13"/></td><td class="ctr2" id="c9">22%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f6">4</td><td class="ctr2" id="g8">7</td><td class="ctr1" id="h4">14</td><td class="ctr2" id="i6">20</td><td class="ctr1" id="j3">4</td><td class="ctr2" id="k6">7</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a8"><a href="HtmlEmail$InlineImage.html" class="el_class">HtmlEmail.InlineImage</a></td><td class="bar" id="b6"><img src="../.resources/redbar.gif" width="2" height="10" title="29" alt="29"/><img src="../.resources/greenbar.gif"
  width="1" height="10" title="15" alt="15"/></td><td class="ctr2" id="c8">34%</td><td class="bar" id="d6"><img src="../.resources/redbar.gif" width="2" height="10" title="4" alt="4"/></td><td class="ctr2" id="e7">0%</td><td class="ctr1" id="f5">6</td><td class="ctr2" id="g7">8</td><td class="ctr1" id="h6">9</td><td class="ctr2" id="i8">15</td><td class="ctr1" id="j4">4</td><td class="ctr2" id="k7">6</td><td class="ctr1" id="l7">0</td><td class="ctr2" id="m6">1</td></tr><tr><td id="a9"><a href="ImageHtmlEmail.html" class="el_class">ImageHtmlEmail</a></td><td class="bar" id="b7"><img src="../.resources/redbar.gif" width="1" height="10" title="12" alt="12"/><img src="../.resources/greenbar.gif" width="11" height="10" title="136" alt="136"/></td><td class="ctr2" id="c3">92%</td><td class="bar" id="d5"><img src="../.resources/redbar.gif" width="2" height="10" title="4" alt="4"/><img src="../.resources/greenbar.gif" width="5" height="10" title="8" alt="8"/></td><td class="ctr2" id="e2">67
 %</td><td class="ctr1" id="f7">4</td><td class="ctr2" id="g5">12</td><td class="ctr1" id="h7">3</td><td class="ctr2" id="i5">39</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k8">6</td><td class="ctr1" id="l8">0</td><td class="ctr2" id="m7">1</td></tr><tr><td id="a4"><a href="EmailConstants.html" class="el_class">EmailConstants</a></td><td class="bar" id="b8"/><td class="ctr2" id="c11">0%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f8">1</td><td class="ctr2" id="g11">1</td><td class="ctr1" id="h8">2</td><td class="ctr2" id="i11">2</td><td class="ctr1" id="j7">1</td><td class="ctr2" id="k11">1</td><td class="ctr1" id="l1">1</td><td class="ctr2" id="m8">1</td></tr><tr><td id="a3"><a href="EmailAttachment.html" class="el_class">EmailAttachment</a></td><td class="bar" id="b9"><img src="../.resources/greenbar.gif" width="4" height="10" title="50" alt="50"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d10"/><td class="ctr2" id=
 "e10">n/a</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g6">11</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i7">20</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k3">11</td><td class="ctr1" id="l9">0</td><td class="ctr2" id="m9">1</td></tr><tr><td id="a11"><a href="SimpleEmail.html" class="el_class">SimpleEmail</a></td><td class="bar" id="b10"><img src="../.resources/greenbar.gif" width="1" height="10" title="17" alt="17"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d7"><img src="../.resources/greenbar.gif" width="1" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g9">3</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i9">5</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k9">2</td><td class="ctr1" id="l10">0</td><td class="ctr2" id="m10">1</td></tr><tr><td id="a1"><a href="DefaultAuthenticator.html" class="el_class">DefaultAuthenticator</a></td><td
  class="bar" id="b11"><img src="../.resources/greenbar.gif" width="1" height="10" title="13" alt="13"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d11"/><td class="ctr2" id="e11">n/a</td><td class="ctr1" id="f11">0</td><td class="ctr2" id="g10">2</td><td class="ctr1" id="h11">0</td><td class="ctr2" id="i10">4</td><td class="ctr1" id="j11">0</td><td class="ctr2" id="k10">2</td><td class="ctr1" id="l11">0</td><td class="ctr2" id="m11">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></body></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.source.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.source.html (added)
+++ websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.source.html Sat May 23 06:50:57 2015
@@ -0,0 +1 @@
+<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="en"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="../.resources/report.css" type="text/css"/><link rel="shortcut icon" href="../.resources/report.gif" type="image/gif"/><title>org.apache.commons.mail</title><script type="text/javascript" src="../.resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="index.html" class="el_class">Classes</a><a href="../.sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">Apache Commons Email</a> &gt; <span class="el_package">org.apache.commons.mail</span></div><h1>org.apache.commons.mail</h1><table class="coverage" cellspacing="0" id="coveragetable"><thea
 d><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar
 ">1,108 of 3,315</td><td class="ctr2">67%</td><td class="bar">138 of 364</td><td class="ctr2">62%</td><td class="ctr1">146</td><td class="ctr2">350</td><td class="ctr1">249</td><td class="ctr2">803</td><td class="ctr1">42</td><td class="ctr2">168</td><td class="ctr1">2</td><td class="ctr2">12</td></tr></tfoot><tbody><tr><td id="a7"><a href="HtmlEmail.java.html" class="el_source">HtmlEmail.java</a></td><td class="bar" id="b0"><img src="../.resources/redbar.gif" width="30" height="10" title="352" alt="352"/><img src="../.resources/greenbar.gif" width="29" height="10" title="341" alt="341"/></td><td class="ctr2" id="c7">49%</td><td class="bar" id="d1"><img src="../.resources/redbar.gif" width="20" height="10" title="29" alt="29"/><img src="../.resources/greenbar.gif" width="25" height="10" title="35" alt="35"/></td><td class="ctr2" id="e5">55%</td><td class="ctr1" id="f1">29</td><td class="ctr2" id="g1">50</td><td class="ctr1" id="h0">63</td><td class="ctr2" id="i1">151</td><td class="
 ctr1" id="j2">7</td><td class="ctr2" id="k2">18</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m0">2</td></tr><tr><td id="a2"><a href="Email.java.html" class="el_source">Email.java</a></td><td class="bar" id="b1"><img src="../.resources/redbar.gif" width="20" height="10" title="237" alt="237"/><img src="../.resources/greenbar.gif" width="99" height="10" title="1,151" alt="1,151"/></td><td class="ctr2" id="c4">83%</td><td class="bar" id="d0"><img src="../.resources/redbar.gif" width="31" height="10" title="44" alt="44"/><img src="../.resources/greenbar.gif" width="88" height="10" title="124" alt="124"/></td><td class="ctr2" id="e1">74%</td><td class="ctr1" id="f0">48</td><td class="ctr2" id="g0">164</td><td class="ctr1" id="h1">61</td><td class="ctr2" id="i0">323</td><td class="ctr1" id="j0">14</td><td class="ctr2" id="k0">80</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m1">1</td></tr><tr><td id="a0"><a href="ByteArrayDataSource.java.html" class="el_source">ByteAr
 rayDataSource.java</a></td><td class="bar" id="b2"><img src="../.resources/redbar.gif" width="17" height="10" title="204" alt="204"/></td><td class="ctr2" id="c9">0%</td><td class="bar" id="d2"><img src="../.resources/redbar.gif" width="18" height="10" title="26" alt="26"/></td><td class="ctr2" id="e6">0%</td><td class="ctr1" id="f2">22</td><td class="ctr2" id="g4">22</td><td class="ctr1" id="h2">51</td><td class="ctr2" id="i4">51</td><td class="ctr1" id="j1">9</td><td class="ctr2" id="k4">9</td><td class="ctr1" id="l0">1</td><td class="ctr2" id="m2">1</td></tr><tr><td id="a9"><a href="MultiPartEmail.java.html" class="el_source">MultiPartEmail.java</a></td><td class="bar" id="b3"><img src="../.resources/redbar.gif" width="17" height="10" title="201" alt="201"/><img src="../.resources/greenbar.gif" width="21" height="10" title="249" alt="249"/></td><td class="ctr2" id="c6">55%</td><td class="bar" id="d4"><img src="../.resources/redbar.gif" width="9" height="10" title="13" alt="13"/><
 img src="../.resources/greenbar.gif" width="15" height="10" title="21" alt="21"/></td><td class="ctr2" id="e4">62%</td><td class="ctr1" id="f3">19</td><td class="ctr2" id="g2">40</td><td class="ctr1" id="h3">45</td><td class="ctr2" id="i2">121</td><td class="ctr1" id="j3">6</td><td class="ctr2" id="k1">23</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a6"><a href="EmailUtils.java.html" class="el_source">EmailUtils.java</a></td><td class="bar" id="b4"><img src="../.resources/redbar.gif" width="4" height="10" title="52" alt="52"/><img src="../.resources/greenbar.gif" width="20" height="10" title="237" alt="237"/></td><td class="ctr2" id="c5">82%</td><td class="bar" id="d3"><img src="../.resources/redbar.gif" width="15" height="10" title="22" alt="22"/><img src="../.resources/greenbar.gif" width="25" height="10" title="36" alt="36"/></td><td class="ctr2" id="e3">62%</td><td class="ctr1" id="f4">19</td><td class="ctr2" id="g3">38</td><td class="ctr1" 
 id="h5">10</td><td class="ctr2" id="i3">67</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k5">9</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a5"><a href="EmailException.java.html" class="el_source">EmailException.java</a></td><td class="bar" id="b5"><img src="../.resources/redbar.gif" width="4" height="10" title="47" alt="47"/><img src="../.resources/greenbar.gif" width="1" height="10" title="13" alt="13"/></td><td class="ctr2" id="c8">22%</td><td class="bar" id="d7"/><td class="ctr2" id="e7">n/a</td><td class="ctr1" id="f5">4</td><td class="ctr2" id="g7">7</td><td class="ctr1" id="h4">14</td><td class="ctr2" id="i6">20</td><td class="ctr1" id="j4">4</td><td class="ctr2" id="k6">7</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a8"><a href="ImageHtmlEmail.java.html" class="el_source">ImageHtmlEmail.java</a></td><td class="bar" id="b6"><img src="../.resources/redbar.gif" width="1" height="10" title="12"
  alt="12"/><img src="../.resources/greenbar.gif" width="11" height="10" title="136" alt="136"/></td><td class="ctr2" id="c3">92%</td><td class="bar" id="d5"><img src="../.resources/redbar.gif" width="2" height="10" title="4" alt="4"/><img src="../.resources/greenbar.gif" width="5" height="10" title="8" alt="8"/></td><td class="ctr2" id="e2">67%</td><td class="ctr1" id="f6">4</td><td class="ctr2" id="g5">12</td><td class="ctr1" id="h6">3</td><td class="ctr2" id="i5">39</td><td class="ctr1" id="j7">0</td><td class="ctr2" id="k7">6</td><td class="ctr1" id="l7">0</td><td class="ctr2" id="m6">1</td></tr><tr><td id="a4"><a href="EmailConstants.java.html" class="el_source">EmailConstants.java</a></td><td class="bar" id="b7"/><td class="ctr2" id="c10">0%</td><td class="bar" id="d8"/><td class="ctr2" id="e8">n/a</td><td class="ctr1" id="f7">1</td><td class="ctr2" id="g10">1</td><td class="ctr1" id="h7">2</td><td class="ctr2" id="i10">2</td><td class="ctr1" id="j6">1</td><td class="ctr2" id="
 k10">1</td><td class="ctr1" id="l1">1</td><td class="ctr2" id="m7">1</td></tr><tr><td id="a3"><a href="EmailAttachment.java.html" class="el_source">EmailAttachment.java</a></td><td class="bar" id="b8"><img src="../.resources/greenbar.gif" width="4" height="10" title="50" alt="50"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d9"/><td class="ctr2" id="e9">n/a</td><td class="ctr1" id="f8">0</td><td class="ctr2" id="g6">11</td><td class="ctr1" id="h8">0</td><td class="ctr2" id="i7">20</td><td class="ctr1" id="j8">0</td><td class="ctr2" id="k3">11</td><td class="ctr1" id="l8">0</td><td class="ctr2" id="m8">1</td></tr><tr><td id="a10"><a href="SimpleEmail.java.html" class="el_source">SimpleEmail.java</a></td><td class="bar" id="b9"><img src="../.resources/greenbar.gif" width="1" height="10" title="17" alt="17"/></td><td class="ctr2" id="c1">100%</td><td class="bar" id="d6"><img src="../.resources/greenbar.gif" width="1" height="10" title="2" alt="2"/></td><td class="ctr2" i
 d="e0">100%</td><td class="ctr1" id="f9">0</td><td class="ctr2" id="g8">3</td><td class="ctr1" id="h9">0</td><td class="ctr2" id="i8">5</td><td class="ctr1" id="j9">0</td><td class="ctr2" id="k8">2</td><td class="ctr1" id="l9">0</td><td class="ctr2" id="m9">1</td></tr><tr><td id="a1"><a href="DefaultAuthenticator.java.html" class="el_source">DefaultAuthenticator.java</a></td><td class="bar" id="b10"><img src="../.resources/greenbar.gif" width="1" height="10" title="13" alt="13"/></td><td class="ctr2" id="c2">100%</td><td class="bar" id="d10"/><td class="ctr2" id="e10">n/a</td><td class="ctr1" id="f10">0</td><td class="ctr2" id="g9">2</td><td class="ctr1" id="h10">0</td><td class="ctr2" id="i9">4</td><td class="ctr1" id="j10">0</td><td class="ctr2" id="k9">2</td><td class="ctr1" id="l10">0</td><td class="ctr2" id="m10">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.eclemma.org/jacoco">JaCoCo</a> 0.7.2.201409121644</span></div></bod
 y></html>
\ No newline at end of file

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.source.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.source.html
------------------------------------------------------------------------------
    svn:keywords = Id Revision HeadURL

Propchange: websites/production/commons/content/proper/commons-email/jacoco/org.apache.commons.mail/index.source.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Modified: websites/production/commons/content/proper/commons-email/jdepend-report.html
==============================================================================
--- websites/production/commons/content/proper/commons-email/jdepend-report.html (original)
+++ websites/production/commons/content/proper/commons-email/jdepend-report.html Sat May 23 06:50:57 2015
@@ -1,15 +1,15 @@
 <!DOCTYPE html>
 <!--
- | Generated by Apache Maven Doxia at 09 July 2014
+ | Generated by Apache Maven Doxia at 23 May 2015
  | Rendered using Apache Maven Fluido Skin 1.3.0
 -->
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
   <head>
     <meta charset="UTF-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
-    <meta name="Date-Revision-yyyymmdd" content="20140709" />
+    <meta name="Date-Revision-yyyymmdd" content="20150523" />
     <meta http-equiv="Content-Language" content="en" />
-    <title>Commons Email - JDepend Report Metrics</title>
+    <title>Commons Email &#x2013; JDepend Report Metrics</title>
 
 	<link rel="stylesheet" href="./css/bootstrap.min.css" type="text/css" />
 	<link rel="stylesheet" href="./css/site.css" type="text/css" />
@@ -43,8 +43,8 @@
 					<a class="brand" href="http://commons.apache.org/proper/commons-email/">Apache Commons Email &trade;</a>
 					<ul class="nav">      
                     
-            <li id="publishDate">Last Published: 09 July 2014</li>
-      <li class="divider">|</li> <li id="projectVersion">Version: 1.3.3</li>
+            <li id="publishDate">Last Published: 23 May 2015</li>
+      <li class="divider">|</li> <li id="projectVersion">Version: 1.4</li>
   </ul>
                     <div class="pull-right">	<ul class="nav">
 						<li>
@@ -89,7 +89,11 @@
     Latest API docs (development)</a>
   				</li>
  														<li class="none">
-		              <a href="javadocs/api-release/index.html" title="Javadoc (1.3.3 release)">
+		              <a href="javadocs/api-release/index.html" title="Javadoc (1.4 release)">
+    Javadoc (1.4 release)</a>
+  				</li>
+ 														<li class="none">
+		              <a href="javadocs/api-1.3.3/index.html" title="Javadoc (1.3.3 release)">
     Javadoc (1.3.3 release)</a>
   				</li>
  														<li class="none">
@@ -106,7 +110,7 @@
  								</ul>
 			<ul class="nav nav-list">
 		 		            									 <li class="nav-header"><i class="icon-info-sign"></i>Project Documentation</li>
-																								                                                                                                                                                                          								<li class="collapsed">
+																								                                                                                                                                                                                                              								<li class="collapsed">
 		              <a href="project-info.html" title="Project Information">
     Project Information</a>
   									</li>
@@ -115,8 +119,8 @@
     Project Reports</a>
   									<ul>
 																	<li class="none">
-		              <a href="changes-report.html" title="Changes Report">
-    Changes Report</a>
+		              <a href="changes-report.html" title="Changes">
+    Changes</a>
   				</li>
  																		<li class="none">
 		              <a href="jira-report.html" title="JIRA Report">
@@ -127,18 +131,14 @@
     JavaDocs</a>
   				</li>
  																		<li class="none">
-		              <a href="testapidocs/index.html" title="Test JavaDocs">
-    Test JavaDocs</a>
+		              <a href="xref/index.html" title="Source Xref">
+    Source Xref</a>
   				</li>
  																		<li class="none">
 		              <a href="xref-test/index.html" title="Test Source Xref">
     Test Source Xref</a>
   				</li>
  																		<li class="none">
-		              <a href="xref/index.html" title="Source Xref">
-    Source Xref</a>
-  				</li>
- 																		<li class="none">
 		              <a href="surefire-report.html" title="Surefire Report">
     Surefire Report</a>
   				</li>
@@ -155,6 +155,10 @@
     JDepend</a>
   				</li>
  																		<li class="none">
+		              <a href="jacoco/index.html" title="JaCoCo Test">
+    JaCoCo Test</a>
+  				</li>
+ 																		<li class="none">
 		              <a href="checkstyle.html" title="Checkstyle">
     Checkstyle</a>
   				</li>
@@ -167,8 +171,8 @@
     CPD Report</a>
   				</li>
  																		<li class="none">
-		              <a href="findbugs.html" title="FindBugs Report">
-    FindBugs Report</a>
+		              <a href="findbugs.html" title="FindBugs">
+    FindBugs</a>
   				</li>
  										</ul>
 							</li>
@@ -199,6 +203,10 @@
 			<ul class="nav nav-list">
 		 		            						 <li class="nav-header">General Information</li>
 																				<li class="none">
+		              <a href="security.html" title="Security">
+    Security</a>
+  				</li>
+ 														<li class="none">
 		              <a href="../../volunteering.html" title="Volunteering">
     Volunteering</a>
   				</li>
@@ -211,6 +219,14 @@
     Building Components</a>
   				</li>
  														<li class="none">
+		              <a href="../../commons-parent-pom.html" title="Commons Parent Pom">
+    Commons Parent Pom</a>
+  				</li>
+ 														<li class="none">
+		              <a href="../../build-plugin/index.html" title="Commons Build Plugin">
+    Commons Build Plugin</a>
+  				</li>
+ 														<li class="none">
 		              <a href="../../releases/index.html" title="Releasing Components">
     Releasing Components</a>
   				</li>
@@ -254,8 +270,8 @@
 					</td>
 					<td class="content">
 						<div class="section">
-<h2>Metric Results<a name="Metric_Results"></a></h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />The following document contains the results of a JDepend metric analysis. The various metrics are defined at the bottom of this document.<br /><br /><a name="summary"></a>
-<h2>Summary<a name="Summary"></a></h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />
+<h2><a name="Metric_Results"></a>Metric Results</h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />The following document contains the results of a JDepend metric analysis. The various metrics are defined at the bottom of this document.<br /><br /><a name="summary"></a>
+<h2><a name="Summary"></a>Summary</h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />
 <table border="0" class="bodyTable">
 <tr class="a">
 <th>Package</th>
@@ -301,8 +317,8 @@
 <td>88.0%</td>
 <td>12.0%</td>
 <td>1</td></tr></table><a name="packages"></a>
-<h2>Packages<a name="Packages"></a></h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><a name="org.apache.commons.mail"></a>
-<h3>org.apache.commons.mail<a name="org.apache.commons.mail"></a></h3>
+<h2><a name="Packages"></a>Packages</h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><a name="org.apache.commons.mail"></a>
+<h3><a name="org.apache.commons.mail"></a>org.apache.commons.mail</h3>
 <table border="0" class="bodyTable">
 <tr class="a">
 <th>Afferent Couplings</th>
@@ -327,7 +343,7 @@
 <td>org.apache.commons.mail.ByteArrayDataSource<br />org.apache.commons.mail.DefaultAuthenticator<br />org.apache.commons.mail.EmailAttachment<br />org.apache.commons.mail.EmailConstants<br />org.apache.commons.mail.EmailException<br />org.apache.commons.mail.EmailUtils<br />org.apache.commons.mail.HtmlEmail<br />org.apache.commons.mail.HtmlEmail$InlineImage<br />org.apache.commons.mail.ImageHtmlEmail<br />org.apache.commons.mail.MultiPartEmail<br />org.apache.commons.mail.SimpleEmail<br /></td>
 <td>org.apache.commons.mail.resolver<br /></td>
 <td>java.io<br />java.lang<br />java.net<br />java.nio.charset<br />java.util<br />java.util.regex<br />javax.activation<br />javax.mail<br />javax.mail.internet<br />javax.naming<br />org.apache.commons.mail.util<br /></td></tr></table><a name="org.apache.commons.mail.resolver"></a>
-<h3>org.apache.commons.mail.resolver<a name="org.apache.commons.mail.resolver"></a></h3>
+<h3><a name="org.apache.commons.mail.resolver"></a>org.apache.commons.mail.resolver</h3>
 <table border="0" class="bodyTable">
 <tr class="a">
 <th>Afferent Couplings</th>
@@ -352,7 +368,7 @@
 <td>org.apache.commons.mail.resolver.DataSourceClassPathResolver<br />org.apache.commons.mail.resolver.DataSourceCompositeResolver<br />org.apache.commons.mail.resolver.DataSourceFileResolver<br />org.apache.commons.mail.resolver.DataSourceUrlResolver<br /></td>
 <td><i>None</i></td>
 <td>java.io<br />java.lang<br />java.net<br />javax.activation<br />javax.mail.util<br />org.apache.commons.mail<br /></td></tr></table><a name="org.apache.commons.mail.util"></a>
-<h3>org.apache.commons.mail.util<a name="org.apache.commons.mail.util"></a></h3>
+<h3><a name="org.apache.commons.mail.util"></a>org.apache.commons.mail.util</h3>
 <table border="0" class="bodyTable">
 <tr class="a">
 <th>Afferent Couplings</th>
@@ -377,8 +393,8 @@
 <td>org.apache.commons.mail.util.MimeMessageParser<br />org.apache.commons.mail.util.MimeMessageUtils<br /></td>
 <td>org.apache.commons.mail<br /></td>
 <td>java.io<br />java.lang<br />java.util<br />javax.activation<br />javax.mail<br />javax.mail.internet<br />javax.mail.util<br /></td></tr></table><a name="cycles"></a>
-<h2>Cycles<a name="Cycles"></a></h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />There are no cyclic dependencies.<br /><a name="explanations"></a>
-<h2>Explanation<a name="Explanation"></a></h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />The following explanations are for quick reference and are lifted directly from the original JDepend documentation.<br /><br />
+<h2><a name="Cycles"></a>Cycles</h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />There are no cyclic dependencies.<br /><a name="explanations"></a>
+<h2><a name="Explanation"></a>Explanation</h2>[ <a href="#summary">summary</a> ] [ <a href="#packages">packages</a> ] [ <a href="#cycles">cycles</a> ] [ <a href="#explanations">explanations</a> ] <br /><br />The following explanations are for quick reference and are lifted directly from the original JDepend documentation.<br /><br />
 <table border="0" class="bodyTable">
 <tr class="a">
 <th>Term</th>
@@ -410,7 +426,7 @@
 		</div>
 
 		<div class="footer">
-			<p>Copyright &copy;                    2001-2014
+			<p>Copyright &copy;                    2001-2015
                         <a href="http://www.apache.org/">The Apache Software Foundation</a>.
             All Rights Reserved.</p>
                                                           				
@@ -419,4 +435,4 @@
                           		</div>
 	</body>
 
-</html>
\ No newline at end of file
+</html>



Mime
View raw message