Example usage for android.net UrlQuerySanitizer parseQuery

List of usage examples for android.net UrlQuerySanitizer parseQuery

Introduction

In this page you can find the example usage for android.net UrlQuerySanitizer parseQuery.

Prototype

public void parseQuery(String query) 

Source Link

Document

Parse a query.

Usage

From source file:Main.java

public static CharSequence parseHttpUri(String query, UrlQuerySanitizer sanitizer,
        ValueSanitizer valueSanitizer) {
    sanitizer.registerParameters(geocachingQueryParam, valueSanitizer);
    sanitizer.parseQuery(query);
    return sanitizer.getValue("q");
}