< prev index next >

src/java.desktop/share/classes/sun/awt/datatransfer/DataTransferer.java

Print this page

        

*** 715,724 **** --- 715,725 ---- /** * 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,1285 **** --- 1277,1287 ---- /** * 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 >