DesktopDatatransferService
interface.
Modifier and Type | Field and Description |
---|---|
private static final Object |
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 FlavorMap | getFlavorMap(Supplier<FlavorMap>
a constructor that should be used to create a new
instance of the supplier)FlavorMap Implements sun. Takes an appropriate |
public LinkedHashSet | getPlatformMappingsForFlavor(DataFlavor
DataFlavor to return mappings forImplements sun. Returns platform-specific mappings for the specified flavor. |
public LinkedHashSet | getPlatformMappingsForNative(String
a native format to return flavors for nat)Implements sun. Returns platform-specific mappings for the specified native format. |
public void | invokeOnEventThread(Runnable
a r)Runnable to invokeImplements 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. |
FLAVOR_MAP_KEY | back to summary |
---|---|
private static final Object FLAVOR_MAP_KEY |
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 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.
|