AnsweredAssumed Answered

Bugged node.getProperty('cm:content').getStream().

Question asked by alexeyg on Feb 28, 2006
Latest reply on Sep 29, 2011 by tezzzzz
Is this a bug or am I missing something?

Property content = pathNode.getProperty("cm:content");
InputStream in = content.getStream();
System.out.println("in.avalable() = " + in.available());
System.out.println("content.getLength() = " + content.getLength());

feeding node with GIF image to code above
output:

in.avalable() = 0
content.getLength() = 2955

thank you

Outcomes