Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Reading dataType from a StringBuffer

  Asked By: Annie    Date: Mar 17    Category: Java    Views: 537
  

I have a problem viz,I have a String stream ,and need to read it to
extract Java data types like int and string. Is there any way to do
it??
I have tried DataInputStream but it takes only ByteArrayInputStream
(I am using j2me) and cannot take anything like string stream .
its easy to do this in C++ using a istringstream class .Is there
anything equivalent in Java?

Share: 

 

No Answers Found. Be the First, To Post Answer.

 
Didn't find what you were looking for? Find more on Reading dataType from a StringBuffer Or get search suggestion and latest updates.




Tagged: