question on randomaccessfiles

is it possible to store

like 100 image files in a randomaccessfile

and then just read them from the file when needed

if so

can somone help me out

[176 byte] By [aaa801a] at [2007-11-27 10:16:48]
# 1

What is your goal, what are you trying to do?

BigDaddyLoveHandlesa at 2007-7-28 15:47:45 > top of Java-index,Java Essentials,Java Programming...
# 2

Probably?

But why would you want to do that to yourself?

hunter9000a at 2007-7-28 15:47:45 > top of Java-index,Java Essentials,Java Programming...
# 3

well its for a game im making

and i need a way to have all the images in one file that

can be called at any time

aaa801a at 2007-7-28 15:47:45 > top of Java-index,Java Essentials,Java Programming...
# 4

Zip the images into one zip file, or include them in your app's jar file.

BigDaddyLoveHandlesa at 2007-7-28 15:47:45 > top of Java-index,Java Essentials,Java Programming...
# 5

You can probably do that.

But why would you want to put them all into one file?

DrClapa at 2007-7-28 15:47:45 > top of Java-index,Java Essentials,Java Programming...
# 6

i know i can do that

but when i read up it said that usaly it has to read upto half

of the zip before finding the file needed

aaa801a at 2007-7-28 15:47:45 > top of Java-index,Java Essentials,Java Programming...