java.lang.Object
de.espirit.firstspirit.ui.gadgets.aspects.transfer.TransferType<T>

public abstract class TransferType<T> extends Object
Transfer type, a typed wrapper for data flavors.
Since:
4.2.426
  • Constructor Details

    • TransferType

      public TransferType()
  • Method Details

    • getType

      @NotNull public abstract Class<T> getType()
      Provides access to the type of the transfer type.
      Returns:
      The type.
      Since:
      4.2.426
    • getDescriptor

      @NotNull public abstract String getDescriptor()
      Provides access the descriptor of the transfer type, e.g. a MIME type.
      Returns:
      The type's descriptor.
      Since:
      4.2.426
    • getDataFlavor

      @NotNull public abstract DataFlavor getDataFlavor()
      Converts the transfer type into a data flavor representation.
      Returns:
      The matching data flavor.
      Since:
      4.2.426