001package icy.clipboard;
002
003import java.awt.datatransfer.DataFlavor;
004import java.awt.datatransfer.Transferable;
005import java.awt.datatransfer.UnsupportedFlavorException;
006import java.io.IOException;
007
008public class TransferableNull implements Transferable
009{
010    @Override
011    public DataFlavor[] getTransferDataFlavors()
012    {
013        return new DataFlavor[0];
014    }
015
016    @Override
017    public boolean isDataFlavorSupported(DataFlavor flavor)
018    {
019        return false;
020    }
021
022    @Override
023    public Object getTransferData(DataFlavor flavor) throws UnsupportedFlavorException, IOException
024    {
025        return null;
026    }
027}