class UrlUtilities {

    public static boolean isFile(URL url)
    {
        boolean isFile = false;

        String protocol = url.getProtocol();
        if ("file".equalsIgnoreCase(protocol) || "jar".equalsIgnoreCase(protocol))
        {
            isFile = true;
        }

        return isFile;
    }

    private  UrlUtilities();

}