Here you can find the source of isJarURL(URL url)
Parameter | Description |
---|---|
url | a parameter |
public static boolean isJarURL(URL url)
//package com.java2s; //License from project: Open Source License import java.net.URL; public class Main { /**//www. java 2 s . co m * */ public static final String URL_PROTOCOL_JAR = "jar"; /** * * @param url * @return */ public static boolean isJarURL(URL url) { return URL_PROTOCOL_JAR.equals(url.getProtocol()); } }