Home | History | Annotate | Download | only in mime4j

Lines Matching defs:boundary

29  * can be used to determine if a final boundary has been seen or not.
40 private byte[] boundary = null;
49 * @param boundary Boundary string (not including leading hyphens).
51 public MimeBoundaryInputStream(InputStream s, String boundary)
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.length; i++) {
59 this.boundary[i] = (byte) boundary.charAt(i);
83 * not seen an end boundary).
149 for (int i = 0; i < boundary.length; i++) {
151 if (b != boundary[i]) {
156 s.unread(boundary[j]);
163 * We have a match. Is it an end boundary?