Retrieves a Settings property as a String object. <p/>Loads the file
if not already initialized.
@param aClass  the calling class
@param key property key

@return Value of the property as a string or null if no property found.
359014
public String getText(Class<?> aClass, String key)   
   {
	   return getText(aClass.getName()+"."+key);
   }
634384
@Override
    public Value get(Object key) {
        if (key instanceof String) {
            String name = (String) key;
            return get(name);
        }
        return fields.get(key);
    }
821275
@Override
    public CmsClientProperty get(Object key) {

        CmsClientProperty result = super.get(key);
        if (result == null) {
            result = new CmsClientProperty((String)key, "", "");
            put((String)key, result);
        }
        return result;
    }
389142
@Override
    public String getString(@NonNull String key) {
        if (key == null) { throw new IllegalArgumentException("key cannot be null."); }

        final int index = indexForColumnName(key);
        return index >= 0 ? getString(index) : null;
    }
1254957
protected static String getString(JSONObject json, String key) {

        JSONValue value = json.get(key);
        JSONString str = value.isString();
        if (str == null) {
            return null;
        }
        return str.stringValue();
    }
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);
		}
	}
313945
public Optional<String> getString(String key) {
        return Optional.ofNullable(configuration.getString(key));
    }
1297301
@Override
    public String getString(@NonNull String key) {
        if (key == null) { throw new IllegalArgumentException("key cannot be null."); }

        synchronized (lock) {
            final Object obj = getMValue(internalDict, key).asNative(internalDict);
            return obj instanceof String ? (String) obj : null;
        }
    }
36774
public static String getPropertyOrNull(final String key) {
        String value = System.getProperty(key);
        return (value == null || value.length() <= 0)? null: value;
    }
967760
@Override
	public Long getPropertyLong(Class<?> aClass, String key)
	{
		return getPropertyLong(new StringBuilder(aClass.getName()).append(".").append(key).toString());
	}
185801
@Override
  public String get(String key) {
    Object value = conf.get(key);
    if(null != value) {
      return value.toString();
    }
    else {
      return null;
    }
  }
902106
public Character getCharacterProperty(String key) {
    JsonElement propertyKey = properties().get(key);
    return propertyKey == null ? null : propertyKey.getAsCharacter();
  }
227279
public String getString(final String _key)
    {
        String ret = null;
        if (this.attributes.containsKey(_key)) {
            ret = this.attributes.get(_key).getValue();
        }
        return ret;
    }
1214387
public Class<?> getClass(final String key) {
    try {
      if (containsKey(key)) {
        return Class.forName(get(key));
      } else {
        throw new UndefinedPropertyException("Missing required property '"
            + key + "'");
      }
    } catch (final ClassNotFoundException e) {
      throw new IllegalArgumentException(e);
    }
  }
1197892
@SuppressWarnings("unchecked")
	@Override
	public <T> T getProperty(Object key, Class<T> clazz) {
	    return (T)getProperty(key);
	}
796095
@Override
	public String getProperty(Class<?> aClass,String key,ResourceBundle resourceBundle)
	{
		String results = getProperty(aClass,key, "");
		
		if(results == null || results.length() == 0)
			results = resourceBundle.getString(key);
		
		return results;
	}
1219775
public static synchronized String getProperty(String key, boolean required) {
		if (mProperties == null) {
			mProperties = initializeConfigurationProperties();
		}
		String value = mProperties.getProperty(key);
		if (value == null && required) {
			throw new RuntimeException("Property not found: " + key);
		}
		return value;
	}