Class JWTImportHandler

    • Constructor Detail

      • JWTImportHandler

        public JWTImportHandler()
    • Method Detail

      • canImport

        public boolean canImport​(DnDParameter parameter)
        Description copied from interface: ImportHandler
        This method is called right before either an import is dispatched (DropEvent), or when a DragOverEvent takes place. Here can the in the parameters contained values be used to check if this handler can successfully handle a drop. From the registered ImportHandler only one should return true.
        Specified by:
        canImport in interface ImportHandler
        Overrides:
        canImport in class AbstractServerBasedImportHandler
        Parameters:
        parameter - The parameter containing the event.
        Returns:
        Return true if this handler can handle the given event and contained types, false otherwise.
      • importDrop

        public void importDrop​(DnDParameter parameter)
        Description copied from interface: ImportHandler
        The method is responsible for handling the drop and the given data. It is called on a DropEvent.
        Parameters:
        parameter - The parameter containing the event.