| How are you getting on with your LDAP stuff Luis?
Sean
On Mon, 2004-03-15 at 11:49, Luis Pedro wrote:
> Then, i've to take toTransport of LDAPAttributes. :)
>=20
>    -- Luis Pedro
> =20
>=20
> =BB   -----Original Message-----
> =BB   From: jsd...@li...=20
> =BB   [mailto:jsd...@li...] On Behalf=20
> =BB   Of Sean Radford
> =BB   Sent: segunda-feira, 15 de Mar=E7o de 2004 11:10
> =BB   To: devel jsdsi
> =BB   Subject: [Jsdsi-devel] jsdsi.Obj convenience methods
> =BB  =20
> =BB   Any objections to me adding the following convenience methods to
> =BB   jsdsi.Obj:
> =BB  =20
> =BB   /**
> =BB    * Returns the S-expression representation of this=20
> =BB   SPKI/SDSI object in readable form.
> =BB    * @param offset spaces indented from left.
> =BB    * @param width total width of window, in characters.
> =BB    * @param last spaces reserved on right (e.g., for closing parens=
)
> =BB    * @return the S-expression
> =BB    */
> =BB   public String toString(int offset, int width, int last) {
> =BB     try {
> =BB       StringWriter sw =3D new StringWriter();
> =BB       this.toSexp().writeReadable(sw, offset, width, last);
> =BB       return sw.toString();
> =BB     } catch (IOException e) {
> =BB       throw new Error(e);
> =BB     }
> =BB   }
> =BB      =20
> =BB   /**
> =BB    * Returns the S-expression representation of this=20
> =BB   SPKI/SDSI object in transport form.
> =BB    * @return the S-expression
> =BB    */
> =BB   public String toTransport() {
> =BB     try {
> =BB       ByteArrayOutputStream baos =3D new ByteArrayOutputStream();
> =BB       this.toSexp().writeTransport(baos);
> =BB       return baos.toString();
> =BB     } catch (IOException e) {
> =BB       throw new Error(e);
> =BB     }
> =BB   }
> =BB  =20
> =BB  =20
> =BB   Regards,
> =BB  =20
> =BB   Sean
> =BB   --
> =BB   Dr. Sean Radford, MBBS, MSc
> =BB   sra...@ae...
> =BB   http://www.aegeus-technology.com
> =BB  =20
> =BB  =20
> =BB  =20
> =BB   -------------------------------------------------------
> =BB   This SF.Net email is sponsored by: IBM Linux Tutorials
> =BB   Free Linux tutorial presented by Daniel Robbins, President=20
> =BB   and CEO of
> =BB   GenToo technologies. Learn everything from fundamentals to system
> =BB   administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638
> =BB   &op=3Dclick
> =BB   _______________________________________________
> =BB   Jsdsi-devel mailing list
> =BB   Jsd...@li...
> =BB   https://lists.sourceforge.net/lists/listinfo/jsdsi-devel
--=20
Dr. Sean Radford, MBBS, MSc
sra...@ae...
http://www.aegeus-technology.com
 |