|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--com.apple.mrj.datatransfer.OSTypeToMimeMapper
A utility class that maps OSType flavors back to DataFlavors. It will regenerate MIME types that were encoded by a MimeToOSTypeMapper.
MimeToOSTypeMapper| Constructor Summary | |
OSTypeToMimeMapper()
Deprecated. Creates an OSTypeToMimeMapper that doesn't do any mapping. |
|
OSTypeToMimeMapper(byte[] mimeMap)
Deprecated. Creates an OSTypeToMimeMapper. |
|
| Method Summary | |
DataFlavor |
mapOSType(MRJOSType osType)
Deprecated. Maps an OSType into the corresponding MIME type to present to Java clients. |
MRJOSType |
unmapFlavor(DataFlavor flavor)
Deprecated. Maps a MIME type back to the OSType of the flavor that contains its data. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OSTypeToMimeMapper(byte[] mimeMap)
throws IOException
mimeMap - The contents of the flavor whose OSType is 'mime',
or null if none.public OSTypeToMimeMapper()
| Method Detail |
public DataFlavor mapOSType(MRJOSType osType)
public MRJOSType unmapFlavor(DataFlavor flavor)
mapOSType.
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.