}
private Object getFileList(DataFlavor f)
throws IOException, UnsupportedFlavorException {
if (!data.isNativeFormatAtailable(DataProvider.FORMAT_FILE_LIST)) {
throw new UnsupportedFlavorException(f);
}
String[] files = data.getFileList();
if (files == null) {
throw new IOException("Data is not available");
}