/* * 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.emailcommon.mail; import com.android.emailcommon.internet.MimeBodyPart; import com.android.emailcommon.internet.MimeHeader; import com.android.emailcommon.internet.MimeMessage; import com.android.emailcommon.internet.MimeMultipart; import com.android.emailcommon.internet.TextBody; import com.android.emailcommon.provider.Account; import com.android.emailcommon.utility.AttachmentUtilities; import android.net.Uri; 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("