code: public String getString(int index) {
          ICUResourceBundle temp = (ICUResourceBundle)get(index);
          if (temp.getType() == STRING) {
              return temp.getString();
          }
          throw new UResourceTypeMismatchException("");
      }
docs: Returns the string in a given resource at the specified index.
  
  @param index an index to the wanted string.
  @return a string which lives in the resource.
  @throws IndexOutOfBoundsException If the index value is out of bounds of accepted values.
  @throws UResourceTypeMismatchException If resource bundle type mismatch.