public static boolean isSupportedVectorExtension ( String name ) { for ( String ext : supportedVectors ) { if ( name . toLowerCase ( ) . endsWith ( ext ) ) { return true ; } } return false ; }
Checks a given name of a file if it is a supported vector extension .