ProgramHandlingUtil
io.joern.jimple2cpg.util.ProgramHandlingUtil$
object ProgramHandlingUtil
Responsible for handling JAR unpacking and handling the temporary build directory.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ProgramHandlingUtil.type
Members list
Type members
Classlikes
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
object ClassFile
Common properties of a File and ZipEntry, used to determine whether a file in a directory or an entry in an archive is worth emitting/extracting
Common properties of a File and ZipEntry, used to determine whether a file in a directory or an entry in an archive is worth emitting/extracting
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
Value members
Concrete methods
def extractClassesInPackageLayout(src: File, destDir: File, isClass: Entry => Boolean, isArchive: Entry => Boolean): List[ClassFile]
Find
Find
.class
files, including those inside archives and copy them to their package path location relative to destDir
Value parameters
- destDir
-
The directory in which to place the class files
- isArchive
-
Whether an entry is an archive to extract
- isClass
-
Whether an entry is a class file
- src
-
The file/directory to search.
Attributes
- Returns
-
The copied class files in destDir
In this article