/** * Writes the content of the RtfList * * @return A byte array containing the actual content of the RtfList * @deprecated replaced by {@link #writeContent(OutputStream)} */ public byte[] write() { ByteArrayOutputStream result = new ByteArrayOutputStream(); try { writeContent(result); } catch (IOException ioe) { ioe.printStackTrace(); } return result.toByteArray(); }