I need a bit of help with some simple Java code... (I have no helps installed over my machine, so I'm doing blindly-coding )
However, this is the problem:
I have an object, call it objX.
objX has a method Save that return an IStream. IStream is an Interface, so I cannot instantiate an IStream Object.
But, I have found some infos saying that I simply can pass to the Save method one of the numerouses objects supporting the IStream interface.
Now, I really know nothing of Java's available objects...so I dunno which objects support the IStream interface
Uh, and the final thing: I need an object that can solve the problem above, ok, BUT I need that this object is a memory stream that can return me its content in a String object.
Heeeeelp meeeeee....
However, this is the problem:
I have an object, call it objX.
objX has a method Save that return an IStream. IStream is an Interface, so I cannot instantiate an IStream Object.
But, I have found some infos saying that I simply can pass to the Save method one of the numerouses objects supporting the IStream interface.
Now, I really know nothing of Java's available objects...so I dunno which objects support the IStream interface
Uh, and the final thing: I need an object that can solve the problem above, ok, BUT I need that this object is a memory stream that can return me its content in a String object.
Heeeeelp meeeeee....
Comment