Android String to URL Convert isUrl(String str)

Here you can find the source of isUrl(String str)

Description

is Url

Declaration

public static boolean isUrl(String str) 

Method Source Code

//package com.java2s;

public class Main {
    public static boolean isUrl(String str) {
        if (str == null) {
            return false;
        }/*from  ww  w .j av a  2 s.  co  m*/
        if (str.startsWith("http")) {
            return true;
        }
        return false;
    }
}

Related

  1. extracURL(String _str)
  2. isUrl(String s)
  3. isUrl(String s)
  4. isUrlValid(String str)
  5. isHttpUrl(String input)
  6. getDomain(String url)