out.writeUTF(header); writer.writeMessage(this); writer.finish(); out.writeUTF(tail);
/** * This method does DSML serialization of the instance. * * @param oout Outputstream where the serialzed data has to be written * * @throws IOException if write fails on OutputStream */ public void writeDSML(java.io.OutputStream oout) throws java.io.IOException { com.novell.ldap.util.DSMLWriter out=new com.novell.ldap.util.DSMLWriter(oout); try{ out.useIndent(true); out.setIndent(4); out.writeMessage(this); out.finish(); }catch(LDAPLocalException le){ } }
writer.finish();