Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

One query regarding InputStream

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

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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic