Lines Matching refs:part
32 * Represents an attachment part in a MIME message. MIME message parsing is done
33 * lazily using a pull parser, so the part may not have all the data. {@link #read}
35 * parsing of an attachment part may be triggered by calling {@link #read} methods
44 * Linked list to keep the part's content
49 * If the part is stored in a file, non-null.
53 private final MIMEPart part;
63 DataHead(MIMEPart part) {
64 this.part = part;
74 head = tail = new Chunk(new MemoryData(buf, part.msg.config));
109 * Can get the attachment part's content multiple times. That means
111 * Calling this method would trigger parsing for the part's data. So
115 * @return data for the part's content
122 // Trigger parsing for the part
124 if (!part.msg.makeProgress()) {
125 throw new IllegalStateException("No such MIME Part: "+part);
155 * Can get the attachment part's content only once. The content
164 * @return data for the part's content
172 // Trigger parsing for the part
174 if (!part.msg.makeProgress() && tail == null) {
175 throw new IllegalStateException("No such Part: "+part);
225 while(!part.parsed && current.next == null) {
226 part.msg.makeProgress();