Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import android.webkit.URLUtil;

public class Main {
    public static boolean isVaildUrl(String url) {
        if (url == null || url.trim().equals("")) {
            return false;
        }
        return URLUtil.isValidUrl(url.trim());
    }
}