Lines Matching defs:content
21 * Content list for multipart mime content type.
36 * Creates a default content list.
49 public boolean add(Content content) {
50 return contentList.add((ContentImpl) content);
71 for (Content content : this.contentList) {
72 stringBuffer.append(content.toString());
79 * unpack a multipart mime packet and return a list of content packets.
91 ContentImpl content = new ContentImpl(body, delimiter);
92 content.setContentTypeHeader(this.getContentTypeHeader());
93 this.contentList.add(content);
121 throw new ParseException("no content type header found in " + nextPart, 0);
125 throw new ParseException("No content [" + nextPart + "]", 0);
128 ContentImpl content = new ContentImpl(rest, boundary);
134 content.setContentTypeHeader((ContentTypeHeader) header);
136 content.setContentDispositionHeader((ContentDispositionHeader) header);
140 contentList.add(content);
159 for (Content content : contentList) {
160 if (content.getContentTypeHeader().getContentType().equalsIgnoreCase(contentType)
161 && content.getContentTypeHeader().getContentSubType().equalsIgnoreCase(
163 retval = content;
177 public void addContent(Content content) {
178 this.add(content);