/** * Convert markers to message attributes. * * @param labelIds * @return */ private static Set<String> markersToMessageAttibutes(Set<Marker> markers) { Set<String> attributes = new HashSet<String>(markers.size()); for (Marker marker : markers) { String a = new StringBuilder(Marshaller.CN_MARKER_PREFIX) .append(marker.toInt()).toString(); attributes.add(a); } return attributes; }
Integer markerId = Integer .parseInt(c.getName().split("\\:")[1]); message.addMarker(Marker.fromInt(markerId)); } else if (includeBody && c.getName().equals(CN_HTML_BODY)) { try {
String cn = CN_MARKER_PREFIX + marker.toInt(); columns.put(cn, new byte[0]);