Package apps.util.issuereporter.swing
Class IssueReporter.BodyTransferable
- java.lang.Object
-
- apps.util.issuereporter.swing.IssueReporter.BodyTransferable
-
- All Implemented Interfaces:
java.awt.datatransfer.Transferable
- Enclosing class:
- IssueReporter
public static class IssueReporter.BodyTransferable extends java.lang.Object implements java.awt.datatransfer.Transferable
-
-
Constructor Summary
Constructors Constructor Description BodyTransferable(java.lang.String body)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
getTransferData(java.awt.datatransfer.DataFlavor flavor)
java.awt.datatransfer.DataFlavor[]
getTransferDataFlavors()
boolean
isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
-
-
-
Constructor Detail
-
BodyTransferable
public BodyTransferable(@Nonnull java.lang.String body)
-
-
Method Detail
-
getTransferDataFlavors
public java.awt.datatransfer.DataFlavor[] getTransferDataFlavors()
- Specified by:
getTransferDataFlavors
in interfacejava.awt.datatransfer.Transferable
-
isDataFlavorSupported
public boolean isDataFlavorSupported(java.awt.datatransfer.DataFlavor flavor)
- Specified by:
isDataFlavorSupported
in interfacejava.awt.datatransfer.Transferable
-
getTransferData
@Nonnull public java.lang.Object getTransferData(java.awt.datatransfer.DataFlavor flavor) throws java.awt.datatransfer.UnsupportedFlavorException, java.io.IOException
- Specified by:
getTransferData
in interfacejava.awt.datatransfer.Transferable
- Throws:
java.awt.datatransfer.UnsupportedFlavorException
java.io.IOException
-
-