if (viewNameArray.length > 0) {
//begin ��ȡͼԪ��Ϣ�ļ�
try {
drawingArray = new Drawing[viewNameArray.length];
for (int i = 0; i < viewNameArray.length; i++) {
DrawModel draw = dataSrc.getDrawModel(viewNameArray[i]);
InputStream input = new ByteArrayInputStream(draw.getContent().getBytes());
// InputStream input = new StringBufferInputStream(draw.getContent());
drawingArray[i] = reader.restore(input);
drawingArray[i].setId(draw.getId());
}
} catch (Exception exception) {
errorInfo = "Exception occurs when read project graphic file.\n" + exception;
exception.printStackTrace();