Java URL is Absolute isAbsoluteURI(String uri)

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

Description

is Absolute URI

License

Open Source License

Declaration

public static boolean isAbsoluteURI(String uri) 

Method Source Code

//package com.java2s;
// under the terms of the GNU Lesser General Public License as published

public class Main {
    public static boolean isAbsoluteURI(String uri) {
        // TODO: make this more sophisticated if needed
        return uri.matches("\\w+://.*");
    }/*from  ww  w  .  j  a v  a 2 s  .c om*/
}

Related

  1. isAbsolute(String uri)
  2. isAbsolute(String uri)
  3. isAbsolute(String uri)
  4. isAbsoluteUri(String s)
  5. isAbsoluteURI(String source)
  6. isAbsoluteURI(String uri)
  7. isAbsoluteUrl(String imageUrl)
  8. isAbsoluteUrl(String ref)
  9. isAbsoluteURL(String str)