Lines Matching refs:url
877 SqlArguments(Uri url, String where, String[] args) {
878 if (url.getPathSegments().size() == 1) {
879 this.table = url.getPathSegments().get(0);
882 } else if (url.getPathSegments().size() != 2) {
883 throw new IllegalArgumentException("Invalid URI: " + url);
885 throw new UnsupportedOperationException("WHERE clause not supported: " + url);
887 this.table = url.getPathSegments().get(0);
888 this.where = "_id=" + ContentUris.parseId(url);
893 SqlArguments(Uri url) {
894 if (url.getPathSegments().size() == 1) {
895 table = url.getPathSegments().get(0);
899 throw new IllegalArgumentException("Invalid URI: " + url);