The java.net.URI class represents a Uniform Resource Identifier with methods for the manipulation of the URI components. The isOpaque method determines if the URI is opaque, meaning that there is no hierarchical path component.
Example:
URI uri1 = new URI("mailto:[email protected]");
boolean isOpaque1 = uri1.isOpaque(); // returns true
URI uri2 = new URI("http://www.example.com");
boolean isOpaque2 = uri2.isOpaque(); // returns false
Package Library: java.net
Java URI.isOpaque - 17 examples found. These are the top rated real world Java examples of java.net.URI.isOpaque extracted from open source projects. You can rate examples to help us improve the quality of examples.