byte[] value = null;
try {
value = IoUtil.readBytes(stream);
return new String(value, "UTF-8");
} catch (UnsupportedEncodingException err) {
throw new ValueFormatException(value, getPropertyType(),
GraphI18n.errorConvertingType.text(InputStream.class.getSimpleName(),
String.class.getSimpleName(),
value), err);
} catch (IOException err) {
throw new IoException(GraphI18n.errorConvertingIo.text(InputStream.class.getSimpleName(),