Set mappings = (Set) name_mappings_by_mime_.get(mime_type); if (mappings == null)
List offers = (List) mappers_by_mime_.get(mime_type); if (offers == null)
  public String[] getNameMappingsForMIME(String mime_type)      throws IllegalArgumentException  {    if (mime_type == null || mime_type.length() == 0)    {      throw new IllegalArgumentException();    }        Set mappings = (Set) name_mappings_by_mime_.get(mime_type);    if (mappings == null)    {      return new String[0];    }        String[] result = new String[mappings.size()];        return (String[]) mappings.toArray(result);  }