protected static final String BOUNDARY = "boundary";
public static final String BINARY_ENCODING = "binary";
private BatchParserCommon() { /* private constructor for helper class */ }
public static String getBoundary(final String contentType, final int line) throws BatchDeserializerException {
final ContentType type = parseContentType(contentType, ContentType.MULTIPART_MIXED, line);
<BUG>String boundary = type.getParameter(BOUNDARY);
</BUG>
if (boundary == null) {
throw new BatchDeserializerException("Missing boundary.",
BatchDeserializerException.MessageKeys.MISSING_BOUNDARY_DELIMITER, Integer.toString(line));

protected static final String BOUNDARY = "boundary";
public static final String BINARY_ENCODING = "binary";
private BatchParserCommon() { /* private constructor for helper class */ }
public static String getBoundary(final String contentType, final int line) throws BatchDeserializerException {
final ContentType type = parseContentType(contentType, ContentType.MULTIPART_MIXED, line);
final String boundary = type.getParameter(BOUNDARY);
if (boundary == null) {
throw new BatchDeserializerException("Missing boundary.",
BatchDeserializerException.MessageKeys.MISSING_BOUNDARY_DELIMITER, Integer.toString(line));
