Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mapping between DataFlavour to NSPasterBoard data-type ?



thanks much Greg,

now... it helps to talk to folks... dumb me of having forgotten that part.
Still, the original question: what is the process to enrich such a table?, remains fully open.


What if MicroSoft tries to convince their office-xml to be one of these ?
or or or ??
Who would be talked about?


thanks again Greg... at least that proves that Java is bravely trying to live at the internet era but still has to resign to local customs of platforms.

So I understand that, as standardization body, we'll have to say "that's the encoding name", no mime-type... and let, then, java application programmers, do the tricks stated on top of this file which allows them to enrich flavormap.properties.

paul


Le 22 nov. 07 à 22:25, Greg Guerin a écrit :

Paul Libbrecht wrote:

I still believe MIME-types are correct but now I want to know how
MIME-types are mapped to clipboard-names, on the Mac...
How to add to this mapping?

I think it's this class:
<http://java.sun.com/j2se/1.4.2/docs/api/java/awt/datatransfer/ SystemFlavorMap.html>


Note the mention of a "flavormap.properties" file, which does exist on Mac
OS X, inside the JavaVM.framework folder.


You might also want to google related dnd classes. I found SystemFlavorMap
pretty quickly, and then it was just a question of looking inside
JavaVM.framework.


On the other hand, you might have to do some decompiling of Mac- specific
classes.


  -- GG


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: mapping between DataFlavour to NSPasterBoard data-type ? (From: Greg Guerin <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.