Java URI Value Check isType(URI uri, String name)

Here you can find the source of isType(URI uri, String name)

Description

is Type

License

Open Source License

Declaration

public static boolean isType(URI uri, String name) 

Method Source Code


//package com.java2s;
import java.net.URI;

public class Main {
    public static boolean isType(URI uri, String name) {
        return uri.toString().startsWith("urn:storageos:" + name);
    }/*from w w w . java  2  s .c  om*/
}

Related

  1. isSecure(final URI uri)
  2. isSecure(URI uri)
  3. isShortTcpURI(URI resource)
  4. isSystemIdentifier(URI localIdentifier)
  5. isType(URI uri, Class clazz)
  6. isURI(Class type)
  7. isURI(String plainString)
  8. isURI(String uri)
  9. isUriValid(String uri)