/* * Copyright (C) 2009 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); * 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 "AS IS" 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 com.android.email.mail; import com.android.email.mail.internet.BinaryTempFileBody; import com.android.email.mail.internet.MimeBodyPart; import com.android.email.mail.internet.MimeHeader; import com.android.email.mail.internet.MimeMessage; import com.android.email.mail.internet.MimeMultipart; import com.android.email.mail.internet.TextBody; import com.android.email.mail.store.LocalStore; import com.android.email.provider.AttachmentProvider; import com.android.email.provider.EmailContent; import android.net.Uri; import java.io.IOException; import java.util.ArrayList; /** * Utility class makes it easier for developer to build mail message objects. *
* Typical usage of these helper functions and builder objects are as follows. *
*
* String text2 = new TextBuilder("").text("") * .text("").cidImg("contetid@domain").text("").build("").text("") * .text("").uriImg(contentUri).text("").build("