Lines Matching refs:uriString
344 String uriString = uri.toString();
345 if (uriString.length() == 0) throw new IllegalArgumentException("uri is empty");
349 if (uriString.startsWith(URI_PREFIX_MAP[i])) {
351 uriString = uriString.substring(URI_PREFIX_MAP[i].length());
355 byte[] uriBytes = uriString.getBytes(StandardCharsets.UTF_8);
368 * The uriString parameter will be normalized with
372 * {@link IllegalArgumentException} may be thrown if the uriString
379 * @param uriString string URI to encode.
381 * @throws IllegalArugmentException if the uriString is empty or invalid
383 public static NdefRecord createUri(String uriString) {
384 return createUri(Uri.parse(uriString));