Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

One query regarding InputStream  RSS feed

 
Jignesh Gohel
Ranch Hand
Posts: 276
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

I have a query regarding Input Stream.Its like

I am having some "String" Data & have one method for parsing.

this parsing method has the signature like this

public void parse(InputStream , Some other UserDefined type)

Now i want to stream this data to bytes & pass this bytes data to this parse() for its InputStream ,& afterwards i am retrieving the data through a "Iterator getXXX()" method which returns me an Iterator.

I tried a lot of things but not getting the desired o/p.Calling that getXXX() method is returning me null .

So please tell me how to approach for this thing.

Regards,
Jignesh
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!