HELP: Creating an InputStream from bytes?

I am currently retrieving a file from a zip file pretty much the same way as this example:

http://www.exampledepot.com/egs/java.util.zip/GetZip.html

I then create a FileInputStream from the file I wrote to disk to use for other processing. I want to get rid of the step of writing to disk and just create an InputStream. Is this possible? If so, can you provide an example?

Thanks!

Michael

[420 byte] By [heyblueza] at [2007-11-26 19:10:36]
# 1
ZipInputStream in = new ZipInputStream(new FileInputStream(inFilename));'in' IS an InputStream!
sabre150a at 2007-7-9 21:06:47 > top of Java-index,Java Essentials,Java Programming...
# 2
doh! :) Thanks!
heyblueza at 2007-7-9 21:06:47 > top of Java-index,Java Essentials,Java Programming...