Lines Matching refs:partBoundary
368 * @param partBoundary The ASCII bytes to use as the part boundary.
374 public static void sendParts(OutputStream out, Part[] parts, byte[] partBoundary)
380 if (partBoundary == null || partBoundary.length == 0) {
381 throw new IllegalArgumentException("partBoundary may not be empty");
385 parts[i].setPartBoundary(partBoundary);
389 out.write(partBoundary);
411 * @param partBoundary The ASCII bytes to use as the part boundary.
418 public static long getLengthOfParts(Part[] parts, byte[] partBoundary) throws IOException {
426 parts[i].setPartBoundary(partBoundary);
434 total += partBoundary.length;