By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,469 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,469 IT Pros & Developers. It's quick & easy.

File Types Handling by MacOS X and Windows

P: n/a
Hello

I am developing a Java application for MacOS X, Windows and Linux. So
far easy with Java. But when it comes to file types, the
platfrom-specific handling knocks my application-created files out on
a MacOS X.

The idea was to save text files with a specific extension (*.ust) on
all systems. Exchange of files is done by email. I did not register a
specific file type or creator to the MacOS X. When attaching the file
to an email, it is handled like a binary. So what I get is the
resource and data fork of the mac file on another platform, which
can't handle it.

I think association of extensions and Mac file types is done by the
MIME types of the system? My question: How can I programmatically
complete those MIME types with Java? I would also be nice to associate
file extensions with an application on Windows, as the system would
display specific icons with the files. How can I achieve this with
Java?

Best thanks for any hints on this matter
Daniel Frey
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
These are platform/os specific things that are better changed with the
installer for your application.

-Misk

Daniel wrote:
Hello

I am developing a Java application for MacOS X, Windows and Linux. So
far easy with Java. But when it comes to file types, the
platfrom-specific handling knocks my application-created files out on
a MacOS X.

The idea was to save text files with a specific extension (*.ust) on
all systems. Exchange of files is done by email. I did not register a
specific file type or creator to the MacOS X. When attaching the file
to an email, it is handled like a binary. So what I get is the
resource and data fork of the mac file on another platform, which
can't handle it.

I think association of extensions and Mac file types is done by the
MIME types of the system? My question: How can I programmatically
complete those MIME types with Java? I would also be nice to associate
file extensions with an application on Windows, as the system would
display specific icons with the files. How can I achieve this with
Java?

Best thanks for any hints on this matter
Daniel Frey

--
================================================== ======================
Missaka Wijekoon (a.k.a. Misk) mw*******@RemoveThis.villageEdocs.com
Sr. Software Engineer http://www.villageEdocs.com
VillageEdocs
================================================== ======================
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.