assert fileName != null;  int lastindex = fileName.lastIndexOf( '.' ); if ( lastindex > fileName.lastIndexOf( separators[separatorFlag] ) )
if ( fileName != null )
	public static String getExtFromFileName( String fileName, int separatorFlag )	{		assert fileName != null;		int lastindex = fileName.lastIndexOf( '.' );		if ( lastindex > fileName.lastIndexOf( separators[separatorFlag] ) )		{			return fileName.substring( lastindex, fileName.length( ) );		}		return null;	}