jdk/src/share/classes/java/awt/datatransfer/Transferable.java
changeset 22281 830790e8640d
parent 20455 f6f9a0c2796b
equal deleted inserted replaced
22280:384c863b2462 22281:830790e8640d
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    60     /**
    60     /**
    61      * Returns an object which represents the data to be transferred.  The class
    61      * Returns an object which represents the data to be transferred.  The class
    62      * of the object returned is defined by the representation class of the flavor.
    62      * of the object returned is defined by the representation class of the flavor.
    63      *
    63      *
    64      * @param flavor the requested flavor for the data
    64      * @param flavor the requested flavor for the data
       
    65      * @return an object which represents the data to be transferred
    65      * @see DataFlavor#getRepresentationClass
    66      * @see DataFlavor#getRepresentationClass
    66      * @exception IOException                if the data is no longer available
    67      * @exception IOException                if the data is no longer available
    67      *              in the requested flavor.
    68      *              in the requested flavor.
    68      * @exception UnsupportedFlavorException if the requested data flavor is
    69      * @exception UnsupportedFlavorException if the requested data flavor is
    69      *              not supported.
    70      *              not supported.