Java URI from toURI(String uri)

Here you can find the source of toURI(String uri)

Description

to URI

License

Open Source License

Declaration

public static URI toURI(String uri) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

import java.net.URI;

public class Main {
    public static URI toURI(String uri) {
        if (uri == null)
            return null;
        return URI.create(uri);
    }/*from  ww w.  j  a  v a  2  s.co  m*/
}

Related

  1. toURI(String path)
  2. toURI(String s)
  3. toURI(String str)
  4. toURI(String str)
  5. toURI(String sUri)
  6. toURI(String uri)
  7. toUri(String uri)
  8. toURI(URI parent, String child)
  9. toURIArray(String[] array)