Home
last modified time | relevance | path

Searched refs:boundary (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Email/src/org/apache/james/mime4j/
DMimeBoundaryInputStream.java40 private byte[] boundary = null; field in MimeBoundaryInputStream
51 public MimeBoundaryInputStream(InputStream s, String boundary) in MimeBoundaryInputStream() argument
54 this.s = new PushbackInputStream(s, boundary.length() + 4); in MimeBoundaryInputStream()
56 boundary = "--" + boundary; in MimeBoundaryInputStream()
57 this.boundary = new byte[boundary.length()]; in MimeBoundaryInputStream()
58 for (int i = 0; i < this.boundary.length; i++) { in MimeBoundaryInputStream()
59 this.boundary[i] = (byte) boundary.charAt(i); in MimeBoundaryInputStream()
149 for (int i = 0; i < boundary.length; i++) { in matchBoundary()
151 if (b != boundary[i]) { in matchBoundary()
156 s.unread(boundary[j]); in matchBoundary()
DBodyDescriptor.java39 private String boundary = null; field in BodyDescriptor
133 boundary = b; in addField()
359 return boundary; in getBoundary()
/packages/apps/Email/src/org/apache/james/mime4j/message/
DMultipart.java169 String boundary = getBoundary(); in writeTo() local
177 writer.write(boundary + "\r\n"); in writeTo()
182 writer.write(boundary + "--" + "\r\n"); in writeTo()
/packages/apps/Email/tests/src/com/android/email/mail/
DMessageTestUtils.java152 public MultipartBuilder(String mimeType, String boundary) { in MultipartBuilder() argument
153 mContentType = mimeType + "; boundary=" + boundary; in MultipartBuilder()
/packages/apps/Email/src/com/android/email/mail/transport/
DRfc822Output.java298 private static void writeBoundary(Writer writer, String boundary, boolean end) in writeBoundary() argument
301 writer.append(boundary); in writeBoundary()