Get the configuration string as a content.

@param key the key to look for in the configuration file
@param o   string or content argument added to configuration text
@return a content tree for the text
966271
public Content getResource(String key, Object o) {
        return configuration.getResource(key, o);
    }
1352813
public String getString(String key) throws JSONException {
        Object object = this.get(key);
        if (object instanceof String) {
            return (String) object;
        }
        throw new JSONException("JSONObject[" + quote(key) + "] not a string.");
    }
1148694
public <T> T getNodeMetaData(Object key) {
        if (metaDataMap == null) {
            return (T) null;
        }
        return (T) metaDataMap.get(key);
    }
719
public synchronized Map<String, Object> getConfiguration(String key) {
		return Optional.ofNullable(inventory.get(key))
				.flatMap(v->v.getConfiguration())
				.map(v->v.getMap())
				.orElse(null);
	}
864898
public String getString(String key) {

    Object obj = get(key);

    try {
      return (String) obj;
    } catch (Exception e) {
      throw new ClassCastException("Identified object is not a String.");
    }
  }
948966
private String getStringInternal(String key) {
		if (key == null) {
			throw new NullPointerException("Key must not be null.");
		}
		
		synchronized (this.confData) {
			return this.confData.get(key);
		}
	}
96125
private String getOverlayMessage(String key) {
		if ((this.overlay == null) || GeneralUtils.isEmpty(key))
			return null;
		return this.overlay.get(key);
	}
1302275
public String get(final String key) {
        final Collection<Argument> args = map.get(key);
        if (args != null) {
            return args.iterator().hasNext() ? args.iterator().next().getValue() : null;
        }
        return null;
    }
729405
public Content getResource(String key, Object o) {
        return getResource(key, o, null, null);
    }
627479
@Override
    public List<Object> getProperty(String key) {
        List<?> nodes = fetchNodeList(key);

        if (nodes.size() == 0) {
            return null;
        } else {
            List<Object> list = new ArrayList<>();
            for (Object node : nodes) {
                ConfigurationNode configurationNode = (ConfigurationNode) node;
                if (configurationNode.getValue() != null) {
                    list.add(configurationNode.getValue());
                }
            }

            if (list.size() < 1) {
                return null;
            } else {
                return list;
            }
        }
    }
453149
public static CoreDictionary.Attribute get(String key)
    {
        if (HanLP.Config.Normalization) key = CharTable.convert(key);
        CoreDictionary.Attribute attribute = dat.get(key);
        if (attribute != null) return attribute;
        if (trie == null) return null;
        return trie.get(key);
    }
247805
private String addProperty(String key) {

        if (System.getProperty(key) != null) {
            m_configuration.put(key, System.getProperty(key));
        }
        return m_configuration.get(key);
    }
1104530
public Object getMetadata(ITree node, String key) {
        Object metadata;
        if (node == null || (metadata = node.getMetadata(key)) == null)
            return getMetadata(key);
        return metadata;
    }
185801
@Override
  public String get(String key) {
    Object value = conf.get(key);
    if(null != value) {
      return value.toString();
    }
    else {
      return null;
    }
  }
1332362
protected ConfigProperties getChild(String key, boolean create) {

    if ((key == null) || (key.isEmpty())) {
      return this;
    }
    if (key.indexOf(KEY_SEPARATOR) > 0) {
      String[] segments = key.split("\\.");
      return getChild(create, segments);
    }
    SimpleConfigProperties result = this.childMap.get(key);
    if (result == null) {
      result = createChild(key, create);
      if (result == null) {
        return EMPTY;
      } else {
        this.childMap.put(key, result);
        this.nodeModifications++;
      }
    }
    return result;
  }
582749
protected static String fetchString(String key) {
        List<String> stringList = (List<String>) fetchObject(key);
        return stringList.get(RandomUtils.nextInt(stringList.size()));


    }
1369060
static public void put(String key, Object o) {
        if (setContext()) {
            m_context.put(key, o);
        } else {
            m_defaultContext.put(key, o);
        }
    }