1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-11-27 11:42:16 -05:00

Package visibility

This commit is contained in:
Jan Berkel 2014-12-11 23:32:38 +00:00
parent ca10e4d94a
commit ba4dd24bd5
10 changed files with 14 additions and 14 deletions

View File

@ -2624,7 +2624,7 @@ public class MessageCompose extends K9Activity implements OnClickListener,
String name = MimeUtility.getHeaderParameter(contentType, "name"); String name = MimeUtility.getHeaderParameter(contentType, "name");
if (name != null) { if (name != null) {
Body body = part.getBody(); Body body = part.getBody();
if (body != null && body instanceof LocalAttachmentBody) { if (body instanceof LocalAttachmentBody) {
final Uri uri = ((LocalAttachmentBody) body).getContentUri(); final Uri uri = ((LocalAttachmentBody) body).getContentUri();
mHandler.post(new Runnable() { mHandler.post(new Runnable() {
@Override @Override

View File

@ -10,7 +10,7 @@ import org.apache.james.mime4j.util.MimeUtil;
import com.fsck.k9.mail.MessagingException; import com.fsck.k9.mail.MessagingException;
import com.fsck.k9.mail.internet.MimeMessage; import com.fsck.k9.mail.internet.MimeMessage;
public class AttachmentMessageBodyUtil { class AttachmentMessageBodyUtil {
public static void writeTo(BinaryAttachmentBody body, OutputStream out) throws IOException, public static void writeTo(BinaryAttachmentBody body, OutputStream out) throws IOException,
MessagingException { MessagingException {
InputStream in = body.getInputStream(); InputStream in = body.getInputStream();

View File

@ -16,7 +16,7 @@ import com.fsck.k9.mail.filter.Base64OutputStream;
* Superclass for attachments that contain binary data. * Superclass for attachments that contain binary data.
* The source for the data differs for the subclasses. * The source for the data differs for the subclasses.
*/ */
public abstract class BinaryAttachmentBody implements Body { abstract class BinaryAttachmentBody implements Body {
protected String mEncoding; protected String mEncoding;
@Override @Override

View File

@ -15,7 +15,7 @@ import com.fsck.k9.mail.MessagingException;
* A {@link LocalAttachmentBody} extension containing a message/rfc822 type body * A {@link LocalAttachmentBody} extension containing a message/rfc822 type body
* *
*/ */
public class LocalAttachmentMessageBody extends LocalAttachmentBody implements CompositeBody { class LocalAttachmentMessageBody extends LocalAttachmentBody implements CompositeBody {
public LocalAttachmentMessageBody(Uri uri, Application application) { public LocalAttachmentMessageBody(Uri uri, Application application) {
super(uri, application); super(uri, application);

View File

@ -2,7 +2,7 @@ package com.fsck.k9.mail.store.local;
import com.fsck.k9.mail.internet.TextBody; import com.fsck.k9.mail.internet.TextBody;
public class LocalTextBody extends TextBody { class LocalTextBody extends TextBody {
/** /**
* This is an HTML-ified version of the message for display purposes. * This is an HTML-ified version of the message for display purposes.
*/ */