DesktopDatatransferService interface.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getDefaultUnicodeEncoding()
Implements sun. Get a platform-dependent default unicode encoding to use in datatransfer system. |
| public synchronized FlavorMap | getFlavorMap(Supplier<FlavorMap> supplier)
Implements sun. Takes an appropriate |
| public LinkedHashSet | getPlatformMappingsForFlavor(DataFlavor df)
Implements sun. Returns platform-specific mappings for the specified flavor. |
| public LinkedHashSet | getPlatformMappingsForNative(String nat)
Implements sun. Returns platform-specific mappings for the specified native format. |
| public void | invokeOnEventThread(Runnable r)
Implements sun. If desktop is present - invokes a |
| public boolean | isDesktopPresent()
Implements sun. Checks if desktop is present. |
| public void | registerTextFlavorProperties(String nat, String charset, String eoln, String terminators)
Implements sun. This method is called for text flavor mappings established while parsing the default flavor mappings file. |
| fm | back to summary |
|---|---|
| private FlavorMap fm | |
| DesktopDatatransferServiceImpl | back to summary |
|---|---|
| public DesktopDatatransferServiceImpl() | |
| getDefaultUnicodeEncoding | back to summary |
|---|---|
| public String getDefaultUnicodeEncoding() Implements sun. Doc from sun. Get a platform-dependent default unicode encoding to use in datatransfer system.
| |
| getFlavorMap | back to summary |
|---|---|
| public synchronized FlavorMap getFlavorMap(Supplier<FlavorMap> supplier) Implements sun. Doc from sun. Takes an appropriate
| |
| getPlatformMappingsForFlavor | back to summary |
|---|---|
| public LinkedHashSet Implements sun. Doc from sun. 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 Implements sun. Doc from sun. 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) Implements sun. Doc from sun. If desktop is present - invokes a
| |
| isDesktopPresent | back to summary |
|---|---|
| public boolean isDesktopPresent() Implements sun. Doc from sun. Checks if desktop is present.
| |
| registerTextFlavorProperties | back to summary |
|---|---|
| public void registerTextFlavorProperties(String nat, String charset, String eoln, String terminators) Implements sun. Doc from sun. 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.
| |