Searched refs:boundary (Results 1 – 11 of 11) sorted by relevance
40 private byte[] boundary = null; field in MimeBoundaryInputStream51 public MimeBoundaryInputStream(InputStream s, String boundary) in MimeBoundaryInputStream() argument54 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()
36 private String boundary = null; field in BodyDescriptor130 boundary = b; in addField()350 return boundary; in getBoundary()
32 protected String boundary; field in MimeMultipart37 boundary = generateBoundary(); in MimeMultipart()45 boundary = MimeUtility.getHeaderParameter(contentType, "boundary"); in MimeMultipart()46 if (boundary == null) { in MimeMultipart()82 contentType = String.format("multipart/%s; boundary=\"%s\"", subType, boundary); in setSubType()95 writer.write("--" + boundary + "\r\n"); in writeTo()101 writer.write("--" + boundary + "--\r\n"); in writeTo()
344 private static void writeBoundary(Writer writer, String boundary, boolean end) in writeBoundary() argument347 writer.append(boundary); in writeBoundary()391 final StringBuilder boundary = new StringBuilder(); in getNextBoundary() local392 boundary.append("--_com.android.email_").append(System.nanoTime()); in getNextBoundary()394 boundary.append(sBoundaryDigit); in getNextBoundary()397 return boundary.toString(); in getNextBoundary()
214 BreakIterator boundary = BreakIterator.getWordInstance(); in splitTextToWords() local215 boundary.setText(text); in splitTextToWords()216 int start = boundary.first(); in splitTextToWords()217 for (int end = boundary.next(); in splitTextToWords()219 start = end, end = boundary.next()) { in splitTextToWords()
169 String boundary = getBoundary(); in writeTo() local177 writer.write(boundary + "\r\n"); in writeTo()182 writer.write(boundary + "--" + "\r\n"); in writeTo()
126 public MultipartBuilder(String mimeType, String boundary) { in MultipartBuilder() argument127 mContentType = mimeType + "; boundary=" + boundary; in MultipartBuilder()
1dictionary=main:pt_br,locale=pt_BR,description=Português (Brasil),date ...