Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (102)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (322)
Collections:
Other Resources:
JDK 17 java.datatransfer.jmod - Data Transfer Module
JDK 17 java.datatransfer.jmod is the JMOD file for JDK 17 Desktop module.
JDK 17 Data Transfer module compiled class files are stored in \fyicenter\jdk-17.0.5\jmods\java.datatransfer.jmod.
JDK 17 Data Transfer module compiled class files are also linked and stored in the \fyicenter\jdk-17.0.5\lib\modules JImage file.
JDK 17 Data Transfer module source code files are stored in \fyicenter\jdk-17.0.5\lib\src.zip\java.datatransfer.
You can click and view the content of each source code file in the list below.
✍: FYIcenter
⏎ sun/datatransfer/DesktopDatatransferService.java
/*
* Copyright (c) 2014, 2017, Oracle and/or its affiliates. All rights reserved.
* ORACLE PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*/
package sun.datatransfer;
import java.awt.datatransfer.DataFlavor;
import java.awt.datatransfer.FlavorMap;
import java.util.LinkedHashSet;
import java.util.function.Supplier;
/**
* Contains services which desktop provides to the datatransfer system to enrich
* it's functionality.
*
* @author Petr Pchelko
* @since 9
*/
public interface DesktopDatatransferService {
/**
* If desktop is present - invokes a {@code Runnable} on the event dispatch
* thread. Otherwise invokes a {@code run()} method directly.
*
* @param r a {@code Runnable} to invoke
*/
void invokeOnEventThread(Runnable r);
/**
* Get a platform-dependent default unicode encoding to use in datatransfer
* system.
*
* @return default unicode encoding
*/
String getDefaultUnicodeEncoding();
/**
* Takes an appropriate {@code FlavorMap} from the desktop. If no
* appropriate table is found - uses a provided supplier to instantiate a
* table. If the desktop is absent - creates and returns a system singleton.
*
* @param supplier a constructor that should be used to create a new
* instance of the {@code FlavorMap}
* @return a {@code FlavorMap}
*/
FlavorMap getFlavorMap(Supplier<FlavorMap> supplier);
/**
* Checks if desktop is present.
*
* @return {@code true} is the desktop is present
*/
boolean isDesktopPresent();
/**
* Returns platform-specific mappings for the specified native format. If
* there are no platform-specific mappings for this native, the method
* returns an empty {@code Set}.
*
* @param nat a native format to return flavors for
* @return set of platform-specific mappings for a native format
*/
LinkedHashSet<DataFlavor> getPlatformMappingsForNative(String nat);
/**
* Returns platform-specific mappings for the specified flavor. If there are
* no platform-specific mappings for this flavor, the method returns an
* empty {@code Set}.
*
* @param df {@code DataFlavor} to return mappings for
* @return set of platform-specific mappings for a {@code DataFlavor}
*/
LinkedHashSet<String> getPlatformMappingsForFlavor(DataFlavor df);
/**
* 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.
*/
void registerTextFlavorProperties(String nat, String charset,
String eoln, String terminators);
}
⏎ sun/datatransfer/DesktopDatatransferService.java
Or download all of them as a single archive file:
File name: java.datatransfer-17.0.5-src.zip File size: 48890 bytes Release date: 2022-09-13 Download
⇒ JDK 17 java.desktop.jmod - Desktop Module
2023-09-16, ∼4214🔥, 0💬
Popular Posts:
What is ojdbc.jar - JDBC Driver for Oracle? ojdbc.jar is a JDBC driver from Oracle that provides dat...
JRE 5 sunjce_provider.jar is the JAR file for JRE 5 Sun JCE Provider, which provides implementations...
Apache Commons Codec library provides implementations of common encoders and decoders such as Base64...
XStream is a simple library to serialize objects to XML and back again. JAR File Size and Download L...
JDK 8 tools.jar is the JAR file for JDK 8 tools. It contains Java classes to support different JDK t...