Transfer.registerType

Registers a name for a data type and returns the associated unique identifier.

<p>You may register the same type more than once, the same unique identifier will be returned if the type has been previously registered.</p>

<p>Note: On windows, do <b>not</b> call this method with pre-defined Clipboard Format types such as CF_TEXT or CF_BITMAP because the pre-defined identifier will not be returned</p>

@param formatName the name of a data type

@return the unique identifier associated with this data type

class Transfer
static
int
registerType
(
String formatName
)

Meta