List of usage examples for android.net UrlQuerySanitizer getSpaceLegal
public static final ValueSanitizer getSpaceLegal()
From source file:com.karura.framework.utils.UrlUtils.java
public static UrlQuerySanitizer sanitizeQuery(String query, String[] parameters) { UrlQuerySanitizer sanitizer = new UrlQuerySanitizer(); sanitizer.registerParameters(parameters, UrlQuerySanitizer.getSpaceLegal()); sanitizer.parseUrl(query);// w w w .j av a2s .c om return sanitizer; }