Returns a localized String matching the specified resource id.

@param id the R.id of the String
@return the localized String
180766
public String getString(int id)
	{
		if(config.commandLogging){
			Log.d(config.commandLoggingTag, "getString("+id+")");
		}
		
		return getter.getString(id);
	}
247725
public static MSLocale createKnownLocale(final int id) {
        
        if(KNOWN_LOCALES.containsKey(id)) {
            return KNOWN_LOCALES.get(id);
        }
        
        final MSLocale locale = new MSLocale(id);
        
        // IDを16進数に変換する
        final String hexId = Utils.supplyZero(Integer.toHexString(id).toUpperCase(), 4);
        
        String code = messageResolver.getMessage(String.format("locale.%s.code", hexId));
        if(Utils.isEmpty(code)) {
            return null;
        }
        
        locale.code = code;
        locale.language = messageResolver.getMessage(String.format("locale.%s.language", hexId));
        locale.country = messageResolver.getMessage(String.format("locale.%s.country", hexId));
        locale.name = messageResolver.getMessage(String.format("locale.%s.name", hexId));
        
        // Javaのロケールの設定
        String jid = messageResolver.getMessage(String.format("locale.%s.jid", hexId));
        if(Utils.isNotEmpty(jid)) {
            locale.locale = parseLocale(jid);
        }
        
        // キャッシュに登録する。
        KNOWN_LOCALES.put(id, locale);
        
        return locale;
        
    }
1353471
public static ResourceIdParts parseResourceId(String resourceId) {
        if (resourceId == null) {
            throw new IllegalArgumentException("Invalid resource ID - cannot be null");
        }

        String[] parts = resourceId.split("~", 3);
        if (parts.length != 3) {
            throw new IllegalArgumentException("Cannot parse invalid ID: " + resourceId);
        }
        return new ResourceIdParts(parts[0], parts[1], parts[2]);
    }
309605
public static Interface get(nitro_service service, String id) throws Exception{
		Interface obj = new Interface();
		obj.set_id(id);
		Interface response = (Interface) obj.get_resource(service);
		return response;
	}
721771
public static String requiredString(JSONObject o, String id) throws JSONConverterException {
        checkKeys(o, id);
        Object x = o.get(id);
        return x.toString();
    }
681184
public static Domain get(final String id) throws ParseException, Exception {
        final BandwidthClient client = BandwidthClient.getInstance();
        return get(client, id); 
    }
1218980
public static String determineDocumentKeyFromId(final String id) {
		final int lastSlash = id.lastIndexOf(KEY_DELIMITER);
		return id.substring(lastSlash + 1);
	}
1107417
public String getDefinitionForID(String id) {
        if (!terms.containsKey(id))
            return null;
        return terms.get(id).getDef();
    }
200806
String getStringByID(long stringID) {
        Long stringIDObj = new Long(stringID);
        String string = (String) stringCache.get(stringIDObj);
        if (string == null) {
            string = createStringByID(stringID);
            stringCache.put(stringIDObj,string);
        }
        return string;
    }
475028
@Override
    protected String getInstanceIdName(int id)
    {
        switch (id - super.getMaxInstanceId()) {
          case Id_localName: return "localName";
          case Id_uri: return "uri";
        }
        return super.getInstanceIdName(id);
    }
759635
public static String getResourceLocation(String resourceId)
	{
		Resource resource = getResource(resourceId);
    	return resource.getDataLocation();
	}
1196209
public static String getResourceInstitution(String resourceId)
	{
		Resource resource = getResource(resourceId);
    	return resource.getDataInstitution();
	}
809751
public function getLocaleById($id) {
        $locale = $this->source
            ->where('id', $id)
            ->first();

        return isset($locale->id) ? $locale->locale : null;
    }
1104131
public String getFormatCode(long id)
    {
        if(numFmts == null)
            cacheFormatCodes();
        return (String)numFmts.get(new Long(id));
    }
387626
public E getById(String id) {
        if (id == null) {
            for (E element : this) {
                if (element != null && element.getId() == null) {
                    return element;
                }
            }
        } else {
            for (E element : this) {
                if (element != null && id.equals(element.getId())) {
                    return element;
                }
            }
        }
        return null;
    }
766453
private static String getFullInstanceId(String hostname, String id) {
    String str = hostname == null ? "" : hostname;
    str = str.replace('.', '_');
    str += (id == null ? "" : "-" + id);
    return str;
  }
233521
public static String getShortID(String id) {
        String canonicalID = getCanonicalCLDRID(id);
        if (canonicalID == null) {
            return null;
        }
        return getShortIDFromCanonical(canonicalID);
    }