DataFormats.getFormat

Overview | Methods | Fields | This Package | All Packages

DataFormats.getFormat

Retrieves the DataFormats.Format object associated with the specified format.

Syntax

public static Format getFormat( String format )

public static Format getFormat( int id )

Parameters

format

The string format type.

id

The Windows Clipboard format ID.

Return Value

Returns a DataFormats.Format object. If the specified format is new, this method creates a new format and returns it.