Package org.jboss.windup.decompiler.api
Class ClassDecompileRequest
- java.lang.Object
-
- org.jboss.windup.decompiler.api.ClassDecompileRequest
-
public class ClassDecompileRequest extends Object
Contains the information needed to decompile a single class file.- Author:
- Jesse Sightler
-
-
Constructor Summary
Constructors Constructor Description ClassDecompileRequest(Path rootDirectory, Path classFile, Path outputDirectory)Create an instance with the given rootDirectory (eg, for a class named "com.foo.Example" in "/path/to/com/foo/Example.class", this would be "/path/to") and the full path to the class file itself.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PathgetClassFile()Contains the full path to the file itself.PathgetOutputDirectory()Contains the full path to the output directory (where the decompiled file will be placed).PathgetRootDirectory()Contains the root directory for this class file.inthashCode()
-
-
-
Constructor Detail
-
ClassDecompileRequest
public ClassDecompileRequest(Path rootDirectory, Path classFile, Path outputDirectory)
Create an instance with the given rootDirectory (eg, for a class named "com.foo.Example" in "/path/to/com/foo/Example.class", this would be "/path/to") and the full path to the class file itself.The resulting decompiled file will be placed in outputDirectory.
-
-
Method Detail
-
getRootDirectory
public Path getRootDirectory()
Contains the root directory for this class file.
-
getClassFile
public Path getClassFile()
Contains the full path to the file itself.
-
getOutputDirectory
public Path getOutputDirectory()
Contains the full path to the output directory (where the decompiled file will be placed).
-
-