[jdom-interest] How many bytes is my JDOM Document
paul at activemath.org
Fri Aug 4 02:30:12 PDT 2006
Print it to a stream that only counts but otherwise discards ? It's easy
to write such a stream... just subclass outputstream.write(byte) and
maybe .write(byte,start,len) and count...
I don't think there's a way without outputting.
Søren Faltz wrote:
> I want to find out how many bytes my document is.
> An easy way would be to stream the document to disk, and then call
> but is there any way to find out without saving the document to disk
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
Url : http://www.jdom.org/pipermail/jdom-interest/attachments/20060804/981ec530/smime.bin
More information about the jdom-interest