Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I read a file created by program X in Java?

file Java program read
0
Posted

How do I read a file created by program X in Java?

0

Location: http://www.jguru.com/faq/view.jsp?EID=139294 Created: Aug 31, 2000 Modified: 2000-08-31 11:27:52.321 Author: John Zukowski (http://www.jguru.com/guru/viewbio.jsp?EID=7) There is no magic in Java that lets it automatically know how to read files created by other programs. Basically, find a definition of what the format is, then read the file in. It is your job to read in the file according to the format documentation you’ve found. You’ll have to worry about things like endian order for numerics, character size, and versioning, as file formats tend to change between versions of the program. Lots of times, other programs support exporting of data to a format that Java does support, usually through an ODBC driver.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123