code: public static FsItemFilter createMimeFilter(final String[] mimeFilters)
  	{
  		if (mimeFilters == null || mimeFilters.length == 0)
  			return FILTER_ALL;
  
  		return new FsItemFilter()
  		{
  			@Override
  			public boolean accepts(FsItemEx item)
  			{
  				String mimeType = item.getMimeType().toUpperCase();
  
  				for (String mf : mimeFilters)
  				{
  					mf = mf.toUpperCase();
  					if (mimeType.startsWith(mf + "/") || mimeType.equals(mf))
  						return true;
  				}
  				return false;
  			}
  		};
  	}
docs: returns a FsItemFilter according to given mimeFilters
  
  @param mimeFilters
  An array of MIME types, if <code>null</code> no filtering is
  done
  @return A filter that only accepts the supplied MIME types.