URI.URI() | Java

 

Descripción

Sintaxis

public URI(String str) throws URISyntaxException
public URI(String scheme, String ssp, String fragment) throws URISyntaxException
public URI(String scheme, String userInfo, String host, int port, String path, String query, String fragment) throws URISyntaxException
public URI(String scheme, String host, String path, String fragment) throws URISyntaxException
public URI(String scheme, String authority, String path, String query, String fragment) throws URISyntaxException

Parámetros

  • String path,
  • String authority,
  • String host,
  • String scheme,
  • String str,
  • int port,
  • String ssp,
  • String query,
  • String userInfo,
  • String fragment,

Excepciones

URISyntaxException, NullPointerException

Clase Padre

URI

Ejemplo


Líneas de Código

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.