Lines Matching defs:cid
197 String cid = contentId;
198 if(cid != null && cid.length() >0 && cid.charAt(0) != '<')
199 cid = '<' + cid + '>';
200 writeln("Content-Id: " + cid, out);
225 String cid="example.jaxws.sun.com";
227 return name + cid;
338 return "cid:"+bab.contentId;
348 return "cid:"+bab.contentId;
354 return "cid:"+bab.contentId;
499 private String decodeCid(String cid) {
501 cid = URLDecoder.decode(cid, "utf-8");
505 return cid;
508 private Attachment getAttachment(String cid) throws IOException {
509 if (cid.startsWith("cid:"))
510 cid = cid.substring(4, cid.length());
511 if (cid.indexOf('%') != -1) {
512 cid = decodeCid(cid);
513 return mimeMP.getAttachmentPart(cid);
515 return mimeMP.getAttachmentPart(cid);
562 private static final String XOP_PREF = "<Include xmlns=\"http://www.w3.org/2004/08/xop/include\" href=\"cid:";