All Downloads are FREE. Search and download functionalities are using the official Maven repository.

common.system.utils.UrlSupport Maven / Gradle / Ivy

There is a newer version: 1.1.0
Show newest version
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package common.system.utils;

/**
 *
 * @author fr
 */
public class UrlSupport {

	public static String addParameter(String url, String parameterPart) {
		if (url != null && parameterPart != null) {
			url += (url.contains("?") ? "&" : "?") + parameterPart;
		}
		return url;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy