TextFormat.valid

Overview | Methods | Fields | This Package | All Packages

TextFormat.valid

Retrieves a boolean value that indicates whether a specified value is a valid member of the TextFormat class.

Syntax

public static boolean valid( int format )

Parameters

format

The value to verify against the constants defined in this class.

Return Value

Returns true if the specified value is valid; otherwise, returns false.