| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: default unicode encodingGet a platform-dependent default unicode encoding to use in datatransfer system. |
| public FlavorMap | Returns: aFlavorMapa constructor that should be used to create a new
instance of the supplier)FlavorMapTakes an appropriate |
| public LinkedHashSet | Returns: set of platform-specific mappings for aDataFlavorDataFlavor to return mappings forReturns platform-specific mappings for the specified flavor. |
| public LinkedHashSet | Returns: set of platform-specific mappings for a native formata native format to return flavors for nat)Returns platform-specific mappings for the specified native format. |
| public void | invokeOnEventThread(Runnable
a r)Runnable to invokeIf desktop is present - invokes a |
| public boolean | |
| public void | registerTextFlavorProperties(String nat, String charset, String eoln, String terminators)
This method is called for text flavor mappings established while parsing the default flavor mappings file. |
| getDefaultUnicodeEncoding | back to summary |
|---|---|
| public String getDefaultUnicodeEncoding() Get a platform-dependent default unicode encoding to use in datatransfer system.
| |
| getFlavorMap | back to summary |
|---|---|
| public FlavorMap getFlavorMap(Supplier<FlavorMap> supplier) Takes an appropriate | |
| getPlatformMappingsForFlavor | back to summary |
|---|---|
| public LinkedHashSet Returns platform-specific mappings for the specified flavor. If there are
no platform-specific mappings for this flavor, the method returns an
empty
| |
| getPlatformMappingsForNative | back to summary |
|---|---|
| public LinkedHashSet Returns platform-specific mappings for the specified native format. If
there are no platform-specific mappings for this native, the method
returns an empty
| |
| invokeOnEventThread | back to summary |
|---|---|
| public void invokeOnEventThread(Runnable r) If desktop is present - invokes a
| |
| isDesktopPresent | back to summary |
|---|---|
| public boolean isDesktopPresent() Checks if desktop is present.
| |
| registerTextFlavorProperties | back to summary |
|---|---|
| public void registerTextFlavorProperties(String nat, String charset, String eoln, String terminators) This method is called for text flavor mappings established while parsing the default flavor mappings file. It stores the "eoln" and "terminators" parameters which are not officially part of the MIME type. They are MIME parameters specific to the flavormap.properties file format. | |