Searched defs:boundary (Results 1 - 5 of 5) sorted by relevance

/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
H A DMimeBoundaryInputStream.java29 * can be used to determine if a final boundary has been seen or not.
40 private byte[] boundary = null; field in class:MimeBoundaryInputStream
49 * @param boundary Boundary string (not including leading hyphens).
51 public MimeBoundaryInputStream(InputStream s, String boundary) argument
54 this.s = new PushbackInputStream(s, boundary.length() + 4);
56 boundary = "--" + boundary;
57 this.boundary = new byte[boundary.length()];
58 for (int i = 0; i < this.boundary
[all...]
H A DBodyDescriptor.java36 private String boundary = null; field in class:BodyDescriptor
120 String b = params.get("boundary");
130 boundary = b;
146 parameters.remove("boundary");
347 * Return the boundary
350 return boundary;
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/
H A DRfc822Output.java72 /** Single digit [0-9] to ensure uniqueness of the MIME boundary */
186 "multipart/" + multipartType + "; boundary=\"" + multipartBoundary + "\"");
338 * Write a multipart boundary
341 * @param boundary the boundary string
342 * @param end false if inner boundary, true if final boundary
344 private static void writeBoundary(Writer writer, String boundary, boolean end) argument
347 writer.append(boundary);
388 * Returns a unique boundary strin
[all...]
/packages/apps/Email/tests/src/com/android/emailcommon/mail/
H A DMessageTestUtils.java112 * Create builder object with MIME type and dummy boundary string.
121 * Create builder object with MIME type and boundary string.
124 * @param boundary boundary string
126 public MultipartBuilder(String mimeType, String boundary) { argument
127 mContentType = mimeType + "; boundary=" + boundary;
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapbMessageMms.java135 private String boundary = null; field in class:BluetoothMapbMessageMms
142 if(boundary == null)
144 boundary = "--=_" + UUID.randomUUID();
145 return boundary;
387 sb.append("Content-Type: ").append(contentType).append("; boundary=").append(getBoundary()).append("\r\n");
527 // Extract the boundary if it exists
530 if(contentTypeParts[j].contains("boundary")) {
531 boundary = contentTypeParts[j].split("boundary[\\s]*=", 2)[1].trim();
532 // removing quotes from boundary strin
[all...]

Completed in 137 milliseconds