Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Random access file help

Status
Not open for further replies.

Lupine

Programmer
Aug 3, 2000
53
US
basically I need to write out (Unicode) and
read in (Unicode) char, boolean, and byte (java 1.1)
from files in a .jar
I'm looking at: implements DataInput,DataOutput

is this possible?

how do I specify the .jar?

how do I "seek" within the .jar for a specific file?

once I have the file, lets assume I know the format,
how do I read in the info I want?

What requirements(methods) of DataInput and DataOutput do I have
to satisfy?

how do I overwrite the 73rd byte of "map.txt", or do
I have to rewrite the whole file?

should I use comma seprated or tab delimited files?

I am reading books in the meantime but
I don't see much help yet.

thanks for any help.



Lupine
RobertCorrina@patownsend.com

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top