Lines Matching defs:parts
34 public long _id = INVALID_VALUE; /* The _id from the content provider, can be used to sort the parts if needed */
104 private ArrayList<MimePart> parts = null;
119 * @return the parts
122 return parts;
126 if(parts == null)
127 parts = new ArrayList<BluetoothMapbMessageMmsEmail.MimePart>();
129 parts.add(newPart);
241 for(MimePart part : parts) {
251 for(MimePart part : parts) {
367 * to use encoding schemes for non-text parts, it is still not clear what to do about non
387 for(MimePart part : parts) {
388 part.encodePlainText(sb); /* We call encode on all parts, to include a tag, where an attachment is missing. */
391 for(MimePart part : parts) {
393 part.encode(sb, getBoundary(), (count == parts.size()));
498 String[] parts = partStr.split("\r\n\r\n", 2); // Split the header from the body
500 if(parts.length != 2) {
503 body = parts[1];
505 String[] headers = parts[0].split("\r\n");
521 // TODO: extract charset? Only UTF-8 is allowed for TEXT typed parts
572 * 3) split on boundary to split into parts (or use the remaining as a part,
605 parts.get(0).contentType = contentType;