public class JarDumper extends Object
Constructor and Description |
---|
JarDumper() |
Modifier and Type | Method and Description |
---|---|
List<String> |
dump(Path jarPath) |
java.util.stream.Stream<String> |
dumpEntry(JarFile file,
JarEntry entry) |
protected static boolean |
isTextFile(String fileName) |
JarDumper |
setAsmFlags(int asmFlags)
Sets the flags that are passed to ASM's
ClassReader when dumping class files. |
public JarDumper setAsmFlags(int asmFlags)
ClassReader
when dumping class files. See
ClassReader.accept(ClassVisitor, int)
;asmFlags
- public List<String> dump(Path jarPath) throws IOException
IOException
public java.util.stream.Stream<String> dumpEntry(JarFile file, JarEntry entry)
protected static boolean isTextFile(String fileName)