• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to read an unknown number of objects with XMLDecoder  RSS feed

 
Alfonso Sanz
Ranch Hand
Posts: 69
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys,

I would like to know if there is a way to read a number of items from a XML file through XMLDecoder that we ignore it in a loop withowt getting exception.

What I have seen is that you encode 3 objects and recover 3, But what about when you have no uidea about the number.

Anyway... could you recommend me another technology to do that?

Thanks in advance.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!