• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to iterate thorw the text files inside jar ( using Class.getResourceAsStream() )  RSS feed

 
Meir Yan
Ranch Hand
Posts: 599
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all
im loading ( or i want to load ) jar file that contains text files that i need to read into memory
my question is how can i iterate throw the text files inside the jar after i loaded it with Class.getResourceAsStream() ?
Thanks
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out JarInputStream.
 
Campbell Ritchie
Marshal
Posts: 56570
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks too difficult a question for us beginners . . . moving.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!