Class TransferType<T>
java.lang.Object
de.espirit.firstspirit.ui.gadgets.aspects.transfer.TransferType<T>
- Type Parameters:
T
- The type of transferred commodity.
Transfer type, a typed wrapper for data flavors.
- Since:
- 4.2.426
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract @NotNull DataFlavor
Converts the transfer type into a data flavor representation.abstract @NotNull String
Provides access the descriptor of the transfer type, e.g. a MIME type.getType()
Provides access to the type of the transfer type.
-
Constructor Details
-
TransferType
public TransferType()
-
-
Method Details
-
getType
Provides access to the type of the transfer type.- Returns:
- The type.
- Since:
- 4.2.426
-
getDescriptor
Provides access the descriptor of the transfer type, e.g. a MIME type.- Returns:
- The type's descriptor.
- Since:
- 4.2.426
-
getDataFlavor
Converts the transfer type into a data flavor representation.- Returns:
- The matching data flavor.
- Since:
- 4.2.426
-