/** * If the parameter is not supported throw an exception * * @param paramKey */ public static void checkUnsupported(String paramKey) { if (!isSupported(paramKey)) { throw new ParameterException(paramKey + " parameter is not supported"); } } }
/** * Return true if the parameter is supported. * * @param paramKey * @return */ public static boolean isSupported(String paramKey) { return supportedParameters().contains(paramKey); }
if (keyValue.length == 2) { String key = formatKey(keyValue[0]); ProjKeyParameters.checkUnsupported(key); v.put(key, keyValue[1]); } else { String key = formatKey(token); ProjKeyParameters.checkUnsupported(key); v.put(key, null);
if (keyValue.length == 2) { String key = formatKey(keyValue[0]); ProjKeyParameters.checkUnsupported(key); v.put(key, keyValue[1]); } else { String key = formatKey(token); ProjKeyParameters.checkUnsupported(key); v.put(key, null);
if (keyValue.length == 2) { String key = formatKey(keyValue[0]); ProjKeyParameters.checkUnsupported(key); v.put(key, keyValue[1]); } else { String key = formatKey(token); ProjKeyParameters.checkUnsupported(key); v.put(key, null);
if (keyValue.length == 2) { String key = formatKey(keyValue[0]); ProjKeyParameters.checkUnsupported(key); v.put(key, keyValue[1]); } else { String key = formatKey(token); ProjKeyParameters.checkUnsupported(key); v.put(key, null);
if (keyValue.length == 2) { String key = formatKey(keyValue[0]); ProjKeyParameters.checkUnsupported(key); v.put(key, keyValue[1]); } else { String key = formatKey(token); ProjKeyParameters.checkUnsupported(key); if (key.equals(ProjKeyParameters.wktext)) { String[] lines = regex.split(line, 2);