Back to project page sqlite-provider.
The source code is released under:
Apache License
If you think the Android project sqlite-provider listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package novoda.lib.sqliteprovider.util; /*from ww w .j av a 2s . c o m*/ import android.net.Uri; public class UriToSqlAttributes { private final Uri uri; public UriToSqlAttributes(Uri uri) { this.uri = uri; } public boolean hasWhereClauseInQuery() { if (uri.toString().split("\\?").length >= 2) { return true; } return false; } protected Uri getUri() { return uri; } }