/** * Sets the embedded data. * * @param data the embedded data. */ public void setData(byte[] data) throws IOException { storage.setData(data); }
/** * Sets the embedded data. * * @param data the embedded data. */ public void setData(byte[] data) throws IOException { storage.setData(data); }
ByteArrayOutputStream bos = new ByteArrayOutputStream(); poiData.writeFilesystem(bos); exOleObjStg.setData(bos.toByteArray()); } catch (IOException e) { throw new HSLFException(e);