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 ?



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



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.