Here you can find the source of isJavaClass(JarEntry je)
private static boolean isJavaClass(JarEntry je)
//package com.java2s; //License from project: Apache License import java.util.jar.JarEntry; public class Main { private static boolean isJavaClass(JarEntry je) { return je.getName().endsWith(".class"); }/*from w w w . java2s . com*/ }