Module java.base
Package java.net

# Class URI

=
public final class URI
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<java.net.URI>

## Constructors

- =
  public URI(java.lang.String arg0) throws java.net.URISyntaxException
- =
  public URI(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2) throws java.net.URISyntaxException
- =
  public URI(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, int arg3, java.lang.String arg4, java.lang.String arg5, java.lang.String arg6) throws java.net.URISyntaxException
- =
  public URI(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3) throws java.net.URISyntaxException
- =
  public URI(java.lang.String arg0, java.lang.String arg1, java.lang.String arg2, java.lang.String arg3, java.lang.String arg4) throws java.net.URISyntaxException

## Methods

- =
  public int compareTo(java.net.URI arg0)
- =
  public static java.net.URI create(java.lang.String arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public java.lang.String getAuthority()
- =
  public java.lang.String getFragment()
- =
  public java.lang.String getHost()
- =
  public java.lang.String getPath()
- =
  public int getPort()
- =
  public java.lang.String getQuery()
- =
  public java.lang.String getRawAuthority()
- =
  public java.lang.String getRawFragment()
- =
  public java.lang.String getRawPath()
- =
  public java.lang.String getRawQuery()
- =
  public java.lang.String getRawSchemeSpecificPart()
- =
  public java.lang.String getRawUserInfo()
- =
  public java.lang.String getScheme()
- =
  public java.lang.String getSchemeSpecificPart()
- =
  public java.lang.String getUserInfo()
- =
  public int hashCode()
- =
  public boolean isAbsolute()
- =
  public boolean isOpaque()
- =
  public java.net.URI normalize()
- =
  public java.net.URI parseServerAuthority() throws java.net.URISyntaxException
- =
  public java.net.URI relativize(java.net.URI arg0)
- =
  public java.net.URI resolve(java.lang.String arg0)
- =
  public java.net.URI resolve(java.net.URI arg0)
- =
  public java.lang.String toASCIIString()
- =
  public java.lang.String toString()
- =
  public java.net.URL toURL() throws java.net.MalformedURLException

## Serialized Form

=

### serialVersionUID

=-6052424284110960213

### Serialized Fields

- =
  java.lang.String string

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.