public class DnDUtils extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
DnDUtils.TransferSupportWrapper
This class wraps a DropTargetDropEvent or TransferSupport.
|
| Modifier and Type | Field and Description |
|---|---|
static DataFlavor |
URI_LIST_FLAVOR |
| Constructor and Description |
|---|
DnDUtils() |
| Modifier and Type | Method and Description |
|---|---|
static List<File> |
getFilesFrom(DnDUtils.TransferSupportWrapper tsw)
DOCUMENT ME!
|
static List<File> |
getFilesFrom(DropTargetDropEvent dtde)
DOCUMENT ME!
|
static boolean |
isFilesOrUriList(DnDUtils.TransferSupportWrapper tsw)
DOCUMENT ME!
|
static boolean |
isFilesOrUriList(DropTargetDropEvent dtde)
DOCUMENT ME!
|
static List |
textURIListToFileList(String data)
DOCUMENT ME!
|
public static DataFlavor URI_LIST_FLAVOR
public static List textURIListToFileList(String data)
data - DOCUMENT ME!public static final boolean isFilesOrUriList(DropTargetDropEvent dtde)
dtde - DOCUMENT ME!public static final boolean isFilesOrUriList(DnDUtils.TransferSupportWrapper tsw)
tsw - DOCUMENT ME!public static List<File> getFilesFrom(DropTargetDropEvent dtde) throws UnsupportedFlavorException, IOException
dtde - DOCUMENT ME!UnsupportedFlavorException - DOCUMENT ME!IOException - DOCUMENT ME!public static List<File> getFilesFrom(DnDUtils.TransferSupportWrapper tsw) throws UnsupportedFlavorException, IOException
tsw - DOCUMENT ME!UnsupportedFlavorException - DOCUMENT ME!IOException - DOCUMENT ME!Copyright © 2012–2025 cismet GmbH. All rights reserved.