String content = jo.getString(SpiConstants.PROPNAME_CONTENT);
List<Value> values;
if (Strings.isNullOrEmpty(content)) {
values = null;
} else {
InputStreamFactory factory =
InputStreamFactories.fromBase64String(content);
jo.put(SpiConstants.PROPNAME_CONTENT, factory);
values = ImmutableList.of(Value.getBinaryValue(factory));
}
mapBuilder.put(SpiConstants.PROPNAME_CONTENT, values);