public static boolean isSupportedFormat ( String format ) { for ( int i = 0 ; i < MSExcelWriter . VALID_FORMAT . length ; i ++ ) { if ( VALID_FORMAT [ i ] . equals ( format ) ) { return true ; } } return false ; }
Checks if format is supported