Class WarJarExtractor
java.lang.Object
org.revapi.java.extract.WarJarExtractor
- All Implemented Interfaces:
org.revapi.configuration.Configurable
,org.revapi.java.spi.JarExtractor
If the provided archive is a ZIP file (which also means a JAR file) and it contains entries in the WEB-INF/classes
directory then only those entries are considered for API analysis.
Can be configured using include
and exclude
lists of regexes on archive names so that user can switch
this extractor off if need be.
Extension ID: war
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionextract
(org.revapi.Archive archive) void
initialize
(org.revapi.AnalysisContext analysisContext)
-
Constructor Details
-
WarJarExtractor
public WarJarExtractor()
-
-
Method Details
-
extract
- Specified by:
extract
in interfaceorg.revapi.java.spi.JarExtractor
-
getExtensionId
- Specified by:
getExtensionId
in interfaceorg.revapi.configuration.Configurable
-
getJSONSchema
-
initialize
- Specified by:
initialize
in interfaceorg.revapi.configuration.Configurable
-