public Object getTransferData(DataFlavor flavor)
            throws UnsupportedFlavorException {
        if (flavor.equals(DataFlavor.imageFlavor)) {
            return imageContent;
        }
        if (flavor.equals(DataFlavor.stringFlavor)) {
            return stringContent;
        }
        if (flavor.equals(mindMapNodesFlavor)) {
            return nodesContent;
        }
        if (flavor.equals(dropActionFlavor)) {
            return dropActionContent;
        }
        if (flavor.equals(rtfFlavor)) {
            byte[] byteArray = rtfContent.getBytes();
            // for (int i = 0; i < byteArray.length; ++i) {
            // System.out.println(byteArray[i]); }

            return new ByteArrayInputStream(byteArray);
        }
        if (flavor.equals(htmlFlavor) && htmlContent != null) {
            return htmlContent;
        }
        if (flavor.equals(fileListFlavor)) {
            return fileList;
        }
        if (flavor.equals(copyNodeIdsFlavor)) {
            return nodeIdsContent;
        }
        throw new UnsupportedFlavorException(flavor);
    }