How do I ensure that the files used by my application are readable on all platforms (UNIX, Linux, Windows, Apple)?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Steve_Anderson
Posted On:   Monday, May 7, 2001 06:58 PM

I am developing a stand alone application which uses files as a substitute for DB tables (i.e. each line in the file should correspond to a record). Are there any steps I need to take to ensure these files will be readable on all platforms (UNIX, Linux, Windows, Apple)?

Re: How do I ensure that the files used by my application are readable on all platforms (UNIX, Linux, Windows, Apple)?

Posted By:   Tim_Rohaly  
Posted On:   Tuesday, May 8, 2001 08:46 AM

If you write the files using Java output streams,
then you will be able to read those same files
on any platform using Java input streams. This
is true because the byte ordering and format of
values written by Java is defined in the Java
Language Specification, and is not dependent
on the underlying machine architecture.
About | Sitemap | Contact