< prev index next >
src/java.desktop/share/classes/sun/awt/datatransfer/DataTransferer.java
Print this page
@@ -715,10 +715,11 @@
/**
* Primary translation function for translating a Transferable into
* a byte array, given a source DataFlavor and target format.
*/
+ @SuppressWarnings("deprecation")
public byte[] translateTransferable(Transferable contents,
DataFlavor flavor,
long format) throws IOException
{
// Obtain the transfer data in the source DataFlavor.
@@ -1276,10 +1277,11 @@
/**
* Primary translation function for translating
* an InputStream into an Object, given a source format and a target
* DataFlavor.
*/
+ @SuppressWarnings("deprecation")
public Object translateStream(InputStream str, DataFlavor flavor,
long format, Transferable localeTransferable)
throws IOException
{
< prev index next >