Java Is Jar File isJarFile(File jar)

Here you can find the source of isJarFile(File jar)

Description

is Jar File

License

Open Source License

Declaration

private static boolean isJarFile(File jar) 

Method Source Code


//package com.java2s;
//License from project: Open Source License 

import java.io.File;

public class Main {
    private static boolean isJarFile(File jar) {
        return jar.getName().endsWith(".jar");
    }//  w  w  w  .  ja va 2s.  c o  m
}

Related

  1. isJar(final File element)
  2. isJar(InputStream is)
  3. isJar(String file)
  4. isJarFile(File f)
  5. isJarFile(File file)