A ZipFile is based on a FILE, so it takes a File in its constructor, like the name suggests.A ZipInputStream is based on an INPUTSTREAM, so it takes an InputStream in its constructor, like the name suggests.

You can't use ZipFile and feed it an InputStreamYou can't use ZipInputStream and feed it a File

So what you want is NOT POSSIBLE.

Pick one, of the above, or pick a different hobby.

Hi, appreciate more people! Σ ♥ = ¾Learn how to award medals... and work your way up the social rankings!

Oh well, it's just silly how every trivial question gets its own thread with a code dump and a one line question. The replies are largely ignored, and a new thread is started when the next problem is stumbled on. If you're so reliant on the community, and really can't solve your own problems, then yes, a different hobby might result in actually getting something done.

Regarding the age... if he was 10, ok. But with 14 you should be able to do better.

Anyway, so much for spilling my annoyances.

Hi, appreciate more people! Σ ♥ = ¾Learn how to award medals... and work your way up the social rankings!

You can combine this with the Executors to give your thread if you want some thread charactheristics (one thread per archive/execution whatever thread strategies, priority, cancelation (since pipedoutputstreams actually respond to interrups by throwing a Interrupted runtime exception - important - THE ONLY STREAMS IN THE STD LIBRARY THAT DO THIS -, etc)

What do you mean? I think that Javagaming.org doesn't want to see you fail even though sometimes, some of us are a bit blunt (especially me and more than Riven). Personally, I want you to succeed. I began programming my first video game on a pocket calculator HP 48 GX in RPL when I was about 15, I had no computer, rarely access to internet and when I had a problem, I had to solve it by myself, it was difficult.

I believe he (or she?) was talking about gamedev.net. Both gamedev and forums.sun.com are very harsh environments for new/young/lazy programmers. Sarcasm, douchebagness and plain personal attacks are quite common.

BTW, i am actually making something similar. I don't think you should use my code, since it does a lot more than what you want and the focus is likely to be different (i want to search with programatic "rules" all the files in a archive) but here is my code (search the compressed package).

Maybe that was someone trying to ransack Riven's name by being super mean.

I wish that was true. It was me and I was very blunt, due to some setbacks in personal life, which does not justify my behaviour. Anyway, I was not banned, I was so furious I deleted my account. Things have 'settled' since then, and I'm peeking at these forums again, for what it's worth...

Apologies to Renoria, ofcourse.

Hi, appreciate more people! Σ ♥ = ¾Learn how to award medals... and work your way up the social rankings!

I wish that was true. It was me and I was very blunt, due to some setbacks in personal life, which does not justify my behaviour. Anyway, I was not banned, I was so furious I deleted my account. Things have 'settled' since then, and I'm peeking at these forums again, for what it's worth...

I never really cared about postcount. Anyway, about 5 years ago I created my account and was pondering about the name. Myst crossed my mind, but the gfx of Riven were just way better, and I wanted to use the game in my avatar:

one of the few ingame movies in Riven, where the dinos slide into the water

I spent a few hours making my current avatar, it's peacefully weird...

java-gaming.org is not responsible for the content posted by its members, including references to external websites,
and other references that may or may not have a relation with our primarily
gaming and game production oriented community.
inquiries and complaints can be sent via email to the info‑account of the
company managing the website of java‑gaming.org