public class FileCopyPasteUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.awt.datatransfer.DataFlavor |
createDataFlavor(java.lang.String mimeType) |
static java.awt.datatransfer.DataFlavor |
createDataFlavor(java.lang.String mimeType,
java.lang.Class<?> klass) |
static java.awt.datatransfer.DataFlavor |
createDataFlavor(java.lang.String mimeType,
java.lang.Class<?> klass,
boolean register) |
static java.awt.datatransfer.DataFlavor |
createJvmDataFlavor(java.lang.Class<?> klass) |
static java.util.List<java.io.File> |
getFileList(java.awt.datatransfer.Transferable transferable) |
static java.util.List<java.io.File> |
getFileListFromAttachedObject(java.lang.Object attached) |
static java.util.List<VirtualFile> |
getVirtualFileListFromAttachedObject(java.lang.Object attached) |
static boolean |
isFileListFlavorAvailable() |
static boolean |
isFileListFlavorAvailable(java.awt.datatransfer.DataFlavor [] transferFlavors) |
static boolean |
isFileListFlavorAvailable(DnDEvent event) |
public static java.awt.datatransfer.DataFlavor createDataFlavor(java.lang.String mimeType)
public static java.awt.datatransfer.DataFlavor createDataFlavor(java.lang.String mimeType, java.lang.Class<?> klass)
public static java.awt.datatransfer.DataFlavor createDataFlavor(java.lang.String mimeType, java.lang.Class<?> klass, boolean register)
public static java.awt.datatransfer.DataFlavor createJvmDataFlavor(java.lang.Class<?> klass)
public static boolean isFileListFlavorAvailable()
public static boolean isFileListFlavorAvailable(DnDEvent event)
public static boolean isFileListFlavorAvailable(java.awt.datatransfer.DataFlavor [] transferFlavors)
public static java.util.List<java.io.File> getFileList(java.awt.datatransfer.Transferable transferable)
public static java.util.List<java.io.File> getFileListFromAttachedObject(java.lang.Object attached)
public static java.util.List<VirtualFile> getVirtualFileListFromAttachedObject(java.lang.Object attached)