Modified:
maven/website/components/shared-archives/maven-shared-jar-LATEST/apidocs/index.html
==============================================================================
---
maven/website/components/shared-archives/maven-shared-jar-LATEST/apidocs/index.html
(original)
+++
maven/website/components/shared-archives/maven-shared-jar-LATEST/apidocs/index.html
Sat Jun 1 19:47:09 2024
@@ -1,172 +1,76 @@
-<!DOCTYPE HTML>
-<html lang="en">
-<head>
-<!-- Generated by javadoc (20) -->
-<title>Overview (Apache Maven JAR Utilities 3.0.0 API)</title>
-<meta name="viewport" content="width=device-width, initial-scale=1">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="description" content="package index">
-<meta name="generator" content="javadoc/PackageIndexWriter">
-<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
-<link rel="stylesheet" type="text/css" href="script-dir/jquery-ui.min.css"
title="Style">
-<script type="text/javascript" src="script.js"></script>
-<script type="text/javascript" src="script-dir/jquery-3.6.1.min.js"></script>
-<script type="text/javascript" src="script-dir/jquery-ui.min.js"></script>
-</head>
-<body class="package-index-page">
-<script type="text/javascript">var pathtoroot = "./";
-loadScripts(document, 'script');</script>
-<noscript>
-<div>JavaScript is disabled on your browser.</div>
-</noscript>
-<div class="flex-box">
-<header role="banner" class="flex-header">
-<nav role="navigation">
-<!-- ========= START OF TOP NAVBAR ======= -->
-<div class="top-nav" id="navbar-top"><button id="navbar-toggle-button"
aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation
links"><span class="nav-bar-toggle-icon"> </span><span
class="nav-bar-toggle-icon"> </span><span
class="nav-bar-toggle-icon"> </span></button>
-<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation
links">Skip navigation links</a></div>
-<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
-<li class="nav-bar-cell1-rev">Overview</li>
-<li>Package</li>
-<li>Class</li>
-<li>Use</li>
-<li><a href="overview-tree.html">Tree</a></li>
-<li><a href="index-all.html">Index</a></li>
-<li><a href="help-doc.html#overview">Help</a></li>
-</ul>
-</div>
-<div class="sub-nav">
-<div id="navbar-sub-list"></div>
-<div class="nav-list-search"><a href="search.html">SEARCH</a>
-<input type="text" id="search-input" disabled placeholder="Search">
-<input type="reset" id="reset-button" disabled value="reset">
-</div>
-</div>
-<!-- ========= END OF TOP NAVBAR ========= -->
-<span class="skip-nav" id="skip-navbar-top"></span></nav>
-</header>
-<div class="flex-content">
-<main role="main">
-<div class="header">
-<h1 class="title">Apache Maven JAR Utilities 3.0.0 API</h1>
-</div>
-<div class="block"><h1 id="maven-shared-components-jar-analyzer-heading">Maven
Shared Components: Jar Analyzer</h1>
-
-<p>
- The Maven Jar Analyzer components can be used to gather various pieces of
information about a given JAR file.
-
- Currently, the following operations are supported:
-</p>
-<ul>
- <li><a href="#Identification">Maven Artifact Identification</a> - examine
the JAR and its contents to try and
- determine any associated Maven metadata such as group and artifact ID.
- </li>
- <li><a href="#ClassAnalysis">Java Class Analysis</a> - examine ther JAR's
class file contents to determine various
- pieces of Java metadata.
- </li>
-</ul>
-
-<h2 id="Identification">Maven Artifact Identification</h2>
-
-<p>
- To determine the Maven artifact metadata for a particular JAR, the
- <a
href="org/apache/maven/shared/jar/identification/JarIdentificationAnalysis.html"
title="class in
org.apache.maven.shared.jar.identification"><code>JarIdentificationAnalysis</code></a>
class is used.
- The class can be obtained through Plexus, or created standalone (in which
case, see the class Javadoc for
- information on proper wiring).
-</p>
-
-<p>
- Note that to use the class, you must first obtain a <a
href="org/apache/maven/shared/jar/JarAnalyzer.html" title="class in
org.apache.maven.shared.jar"><code>JarAnalyzer</code></a> instance as
- instructed in its Javadoc.
-</p>
-
-<p>
- The resulting information will be populated in the returned
- <a
href="org/apache/maven/shared/jar/identification/JarIdentification.html"
title="class in
org.apache.maven.shared.jar.identification"><code>JarIdentification</code></a>
class.
-</p>
-
-<p>
- Example usage:
-</p>
-
-<pre>
- JarAnalyzer jar = new JarAnalyzer( jarFile );
- JarIdenfitication jarIdenfitication;
- try
- {
- // instance must have been previously obtained through Plexus or
created as instructed in its Javadoc
- jarIdenfitication = jarIdenfiticationAnalyzer.analyze( jar );
- }
- finally
- {
- jar.closeQuietly();
- }
-
- // continue to use jarIdenfitication or jar.getJarData()
-</pre>
-
-<h2 id="ClassAnalysis">Java Class Analysis</h2>
-
-<p>
- To determine the Java class metadata for a particular JAR, the
- <a href="org/apache/maven/shared/jar/classes/JarClassesAnalysis.html"
title="class in
org.apache.maven.shared.jar.classes"><code>JarClassesAnalysis</code></a> class
is used.
- The class can be obtained through Plexus, or created standalone (in which
case, see the class Javadoc for
- information on proper wiring).
-</p>
-
-<p>
- Note that to use the class, you must first obtain a <a
href="org/apache/maven/shared/jar/JarAnalyzer.html" title="class in
org.apache.maven.shared.jar"><code>JarAnalyzer</code></a> instance as
- instructed in its Javadoc.
-</p>
-
-<p>
- The resulting information will be populated in the returned
- <a href="org/apache/maven/shared/jar/classes/JarClasses.html" title="class
in org.apache.maven.shared.jar.classes"><code>JarClasses</code></a> class.
-</p>
-
-<p>
- Example usage:
-</p>
-<pre>
- JarAnalyzer jar = new JarAnalyzer( jarFile );
- JarClasses jarClasses;
- try
- {
- // instance must have been previously obtained through Plexus or
created as instructed in its Javadoc
- jarClasses = jarClassAnalyzer.analyze( jar );
- }
- finally
- {
- jar.closeQuietly();
- }
-
- // continue to use jarClasses or jar.getJarData()
-</pre></div>
-<div id="all-packages-table">
-<div class="caption"><span>Packages</span></div>
-<div class="summary-table two-column-summary">
-<div class="table-header col-first">Package</div>
-<div class="table-header col-last">Description</div>
-<div class="col-first even-row-color all-packages-table
all-packages-table-tab1"><a
href="org/apache/maven/shared/jar/package-summary.html">org.apache.maven.shared.jar</a></div>
-<div class="col-last even-row-color all-packages-table
all-packages-table-tab1"> </div>
-<div class="col-first odd-row-color all-packages-table
all-packages-table-tab1"><a
href="org/apache/maven/shared/jar/classes/package-summary.html">org.apache.maven.shared.jar.classes</a></div>
-<div class="col-last odd-row-color all-packages-table
all-packages-table-tab1"> </div>
-<div class="col-first even-row-color all-packages-table
all-packages-table-tab1"><a
href="org/apache/maven/shared/jar/identification/package-summary.html">org.apache.maven.shared.jar.identification</a></div>
-<div class="col-last even-row-color all-packages-table
all-packages-table-tab1"> </div>
-<div class="col-first odd-row-color all-packages-table
all-packages-table-tab1"><a
href="org/apache/maven/shared/jar/identification/exposers/package-summary.html">org.apache.maven.shared.jar.identification.exposers</a></div>
-<div class="col-last odd-row-color all-packages-table
all-packages-table-tab1"> </div>
-<div class="col-first even-row-color all-packages-table
all-packages-table-tab1"><a
href="org/apache/maven/shared/jar/identification/hash/package-summary.html">org.apache.maven.shared.jar.identification.hash</a></div>
-<div class="col-last even-row-color all-packages-table
all-packages-table-tab1"> </div>
-<div class="col-first odd-row-color all-packages-table
all-packages-table-tab1"><a
href="org/apache/maven/shared/jar/identification/repository/package-summary.html">org.apache.maven.shared.jar.identification.repository</a></div>
-<div class="col-last odd-row-color all-packages-table
all-packages-table-tab1"> </div>
-</div>
-</div>
-</main>
-<footer role="contentinfo">
-<hr>
-<p class="legal-copy"><small>Copyright © 2002–2023 <a
href="https://www.apache.org/">The Apache Software Foundation</a>. All rights
reserved.</small></p>
-</footer>
-</div>
-</div>
-</body>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http://www.w3.org/TR/html4/frameset.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Apache Maven JAR Utilities 3.1.0 API</title>
+<script type="text/javascript">
+ tmpTargetPage = "" + window.location.search;
+ if (tmpTargetPage != "" && tmpTargetPage != "undefined")
+ tmpTargetPage = tmpTargetPage.substring(1);
+ if (tmpTargetPage.indexOf(":") != -1 || (tmpTargetPage != "" &&
!validURL(tmpTargetPage)))
+ tmpTargetPage = "undefined";
+ targetPage = tmpTargetPage;
+ function validURL(url) {
+ try {
+ url = decodeURIComponent(url);
+ }
+ catch (error) {
+ return false;
+ }
+ var pos = url.indexOf(".html");
+ if (pos == -1 || pos != url.length - 5)
+ return false;
+ var allowNumber = false;
+ var allowSep = false;
+ var seenDot = false;
+ for (var i = 0; i < url.length - 5; i++) {
+ var ch = url.charAt(i);
+ if ('a' <= ch && ch <= 'z' ||
+ 'A' <= ch && ch <= 'Z' ||
+ ch == '$' ||
+ ch == '_' ||
+ ch.charCodeAt(0) > 127) {
+ allowNumber = true;
+ allowSep = true;
+ } else if ('0' <= ch && ch <= '9'
+ || ch == '-') {
+ if (!allowNumber)
+ return false;
+ } else if (ch == '/' || ch == '.') {
+ if (!allowSep)
+ return false;
+ allowNumber = false;
+ allowSep = false;
+ if (ch == '.')
+ seenDot = true;
+ if (ch == '/' && seenDot)
+ return false;
+ } else {
+ return false;
+ }
+ }
+ return true;
+ }
+ function loadFrames() {
+ if (targetPage != "" && targetPage != "undefined")
+ top.classFrame.location = top.targetPage;
+ }
+</script>
+</head>
+<frameset cols="20%,80%" title="Documentation frame" onload="top.loadFrames()">
+<frameset rows="30%,70%" title="Left frames" onload="top.loadFrames()">
+<frame src="overview-frame.html" name="packageListFrame" title="All Packages">
+<frame src="allclasses-frame.html" name="packageFrame" title="All classes and
interfaces (except non-static nested types)">
+</frameset>
+<frame src="overview-summary.html" name="classFrame" title="Package, class and
interface descriptions" scrolling="yes">
+<noframes>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<h2>Frame Alert</h2>
+<p>This document is designed to be viewed using the frames feature. If you see
this message, you are using a non-frame-capable web client. Link to <a
href="overview-summary.html">Non-frame version</a>.</p>
+</noframes>
+</frameset>
</html>
\ No newline at end of file
Modified:
maven/website/components/shared-archives/maven-shared-jar-LATEST/apidocs/org/apache/maven/shared/jar/JarAnalyzer.html
==============================================================================
---
maven/website/components/shared-archives/maven-shared-jar-LATEST/apidocs/org/apache/maven/shared/jar/JarAnalyzer.html
(original)
+++
maven/website/components/shared-archives/maven-shared-jar-LATEST/apidocs/org/apache/maven/shared/jar/JarAnalyzer.html
Sat Jun 1 19:47:09 2024
@@ -1,351 +1,499 @@
-<!DOCTYPE HTML>
-<html lang="en">
-<head>
-<!-- Generated by javadoc (20) -->
-<title>JarAnalyzer (Apache Maven JAR Utilities 3.0.0 API)</title>
-<meta name="viewport" content="width=device-width, initial-scale=1">
-<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
-<meta name="description" content="declaration: package:
org.apache.maven.shared.jar, class: JarAnalyzer">
-<meta name="generator" content="javadoc/ClassWriterImpl">
-<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css"
title="Style">
-<link rel="stylesheet" type="text/css"
href="../../../../../script-dir/jquery-ui.min.css" title="Style">
-<script type="text/javascript" src="../../../../../script.js"></script>
-<script type="text/javascript"
src="../../../../../script-dir/jquery-3.6.1.min.js"></script>
-<script type="text/javascript"
src="../../../../../script-dir/jquery-ui.min.js"></script>
-</head>
-<body class="class-declaration-page">
-<script type="text/javascript">var pathtoroot = "../../../../../";
-loadScripts(document, 'script');</script>
-<noscript>
-<div>JavaScript is disabled on your browser.</div>
-</noscript>
-<div class="flex-box">
-<header role="banner" class="flex-header">
-<nav role="navigation">
-<!-- ========= START OF TOP NAVBAR ======= -->
-<div class="top-nav" id="navbar-top"><button id="navbar-toggle-button"
aria-controls="navbar-top" aria-expanded="false" aria-label="Toggle navigation
links"><span class="nav-bar-toggle-icon"> </span><span
class="nav-bar-toggle-icon"> </span><span
class="nav-bar-toggle-icon"> </span></button>
-<div class="skip-nav"><a href="#skip-navbar-top" title="Skip navigation
links">Skip navigation links</a></div>
-<ul id="navbar-top-firstrow" class="nav-list" title="Navigation">
-<li><a href="../../../../../index.html">Overview</a></li>
-<li><a href="package-summary.html">Package</a></li>
-<li class="nav-bar-cell1-rev">Class</li>
-<li><a href="class-use/JarAnalyzer.html">Use</a></li>
-<li><a href="package-tree.html">Tree</a></li>
-<li><a href="../../../../../index-all.html">Index</a></li>
-<li><a href="../../../../../help-doc.html#class">Help</a></li>
-</ul>
-<ul class="sub-nav-list-small">
-<li>
-<p>Summary:</p>
-<ul>
-<li>Nested</li>
-<li>Field</li>
-<li><a href="#constructor-summary">Constr</a></li>
-<li><a href="#method-summary">Method</a></li>
-</ul>
-</li>
-<li>
-<p>Detail:</p>
-<ul>
-<li>Field</li>
-<li><a href="#constructor-detail">Constr</a></li>
-<li><a href="#method-detail">Method</a></li>
-</ul>
-</li>
-</ul>
-</div>
-<div class="sub-nav">
-<div id="navbar-sub-list">
-<ul class="sub-nav-list">
-<li>Summary: </li>
-<li>Nested | </li>
-<li>Field | </li>
-<li><a href="#constructor-summary">Constr</a> | </li>
-<li><a href="#method-summary">Method</a></li>
-</ul>
-<ul class="sub-nav-list">
-<li>Detail: </li>
-<li>Field | </li>
-<li><a href="#constructor-detail">Constr</a> | </li>
-<li><a href="#method-detail">Method</a></li>
-</ul>
-</div>
-<div class="nav-list-search"><a href="../../../../../search.html">SEARCH</a>
-<input type="text" id="search-input" disabled placeholder="Search">
-<input type="reset" id="reset-button" disabled value="reset">
-</div>
-</div>
-<!-- ========= END OF TOP NAVBAR ========= -->
-<span class="skip-nav" id="skip-navbar-top"></span></nav>
-</header>
-<div class="flex-content">
-<main role="main">
-<!-- ======== START OF CLASS DATA ======== -->
-<div class="header">
-<div class="sub-title"><span
class="package-label-in-type">Package</span> <a
href="package-summary.html">org.apache.maven.shared.jar</a></div>
-<h1 title="Class JarAnalyzer" class="title">Class JarAnalyzer</h1>
-</div>
-<div class="inheritance" title="Inheritance Tree"><a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html"
title="class or interface in java.lang"
class="external-link">java.lang.Object</a>
-<div class="inheritance">org.apache.maven.shared.jar.JarAnalyzer</div>
-</div>
-<section class="class-description" id="class-description">
-<hr>
-<div class="type-signature"><span class="modifiers">public class </span><span
class="element-name type-name-label">JarAnalyzer</span>
-<span class="extends-implements">extends <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html"
title="class or interface in java.lang"
class="external-link">Object</a></span></div>
-<div class="block">Open a JAR file to be analyzed. Note that once created, the
<a href="#closeQuietly()"><code>closeQuietly()</code></a> method should be
called to
- release the associated file handle.
-
- Typical usage:
- <pre>
- JarAnalyzer jar = new JarAnalyzer( jarFile );
-
- try
- {
- // do some analysis, such as:
- jarClasses = jarClassAnalyzer.analyze( jar );
- }
- finally
- {
- jar.closeQuietly();
- }
-
- // use jar.getJarData() in some way, or the data returned by the JAR
analyzer. jar itself can no longer be used.
- </pre>
-
- Note: that the actual data is separated from this class by design to minimise
the chance of forgetting to close the
- JAR file. The <a href="JarData.html" title="class in
org.apache.maven.shared.jar"><code>JarData</code></a> class exposed, as well as
any data returned by actual
- analyzers that use this class, can be used safely once this class is out of
scope.</div>
-<dl class="notes">
-<dt>See Also:</dt>
-<dd>
-<ul class="tag-list-long">
-<li><a
href="identification/JarIdentificationAnalysis.html#analyze(org.apache.maven.shared.jar.JarAnalyzer)"><code>JarIdentificationAnalysis.analyze(JarAnalyzer)</code></a></li>
-<li><a
href="classes/JarClassesAnalysis.html#analyze(org.apache.maven.shared.jar.JarAnalyzer)"><code>JarClassesAnalysis.analyze(JarAnalyzer)</code></a></li>
-</ul>
-</dd>
-</dl>
-</section>
-<section class="summary">
-<ul class="summary-list">
-<!-- ======== CONSTRUCTOR SUMMARY ======== -->
-<li>
-<section class="constructor-summary" id="constructor-summary">
-<h2>Constructor Summary</h2>
-<div class="caption"><span>Constructors</span></div>
-<div class="summary-table two-column-summary">
-<div class="table-header col-first">Constructor</div>
-<div class="table-header col-last">Description</div>
-<div class="col-constructor-name even-row-color"><code><a
href="#%3Cinit%3E(java.io.File)"
class="member-name-link">JarAnalyzer</a><wbr>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class
or interface in java.io" class="external-link">File</a> file)</code></div>
-<div class="col-last even-row-color">
-<div class="block">Constructor.</div>
-</div>
-</div>
-</section>
-</li>
-<!-- ========== METHOD SUMMARY =========== -->
-<li>
-<section class="method-summary" id="method-summary">
-<h2>Method Summary</h2>
-<div id="method-summary-table">
-<div class="table-tabs" role="tablist" aria-orientation="horizontal"><button
id="method-summary-table-tab0" role="tab" aria-selected="true"
aria-controls="method-summary-table.tabpanel" tabindex="0"
onkeydown="switchTab(event)" onclick="show('method-summary-table',
'method-summary-table', 3)" class="active-table-tab">All
Methods</button><button id="method-summary-table-tab2" role="tab"
aria-selected="false" aria-controls="method-summary-table.tabpanel"
tabindex="-1" onkeydown="switchTab(event)"
onclick="show('method-summary-table', 'method-summary-table-tab2', 3)"
class="table-tab">Instance Methods</button><button
id="method-summary-table-tab4" role="tab" aria-selected="false"
aria-controls="method-summary-table.tabpanel" tabindex="-1"
onkeydown="switchTab(event)" onclick="show('method-summary-table',
'method-summary-table-tab4', 3)" class="table-tab">Concrete
Methods</button></div>
-<div id="method-summary-table.tabpanel" role="tabpanel">
-<div class="summary-table three-column-summary"
aria-labelledby="method-summary-table-tab0">
-<div class="table-header col-first">Modifier and Type</div>
-<div class="table-header col-second">Method</div>
-<div class="table-header col-last">Description</div>
-<div class="col-first even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code>void</code></div>
-<div class="col-second even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#closeQuietly()" class="member-name-link">closeQuietly</a>()</code></div>
-<div class="col-last even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Close the associated JAR file, ignoring any errors that may
occur.</div>
-</div>
-<div class="col-first odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></code></div>
-<div class="col-second odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#filterEntries(java.util.regex.Pattern)"
class="member-name-link">filterEntries</a><wbr>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html"
title="class or interface in java.util.regex"
class="external-link">Pattern</a> pattern)</code></div>
-<div class="col-last odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Filter a list of JAR entries against the pattern.</div>
-</div>
-<div class="col-first even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></code></div>
-<div class="col-second even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#getClassEntries()"
class="member-name-link">getClassEntries</a>()</code></div>
-<div class="col-last even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Get all the classes in the JAR.</div>
-</div>
-<div class="col-first odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></code></div>
-<div class="col-second odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#getEntries()" class="member-name-link">getEntries</a>()</code></div>
-<div class="col-last odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Get all the contained files in the JAR.</div>
-</div>
-<div class="col-first even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html"
title="class or interface in java.io"
class="external-link">InputStream</a></code></div>
-<div class="col-second even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#getEntryInputStream(java.util.jar.JarEntry)"
class="member-name-link">getEntryInputStream</a><wbr>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a> entry)</code></div>
-<div class="col-last even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Get the data for an individual entry in the JAR.</div>
-</div>
-<div class="col-first odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class
or interface in java.io" class="external-link">File</a></code></div>
-<div class="col-second odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a href="#getFile()"
class="member-name-link">getFile</a>()</code></div>
-<div class="col-last odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Get the file that was opened by this analyzer.</div>
-</div>
-<div class="col-first even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="JarData.html" title="class in
org.apache.maven.shared.jar">JarData</a></code></div>
-<div class="col-second even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#getJarData()" class="member-name-link">getJarData</a>()</code></div>
-<div class="col-last even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"> </div>
-<div class="col-first odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></code></div>
-<div class="col-second odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#getMavenPomEntries()"
class="member-name-link">getMavenPomEntries</a>()</code></div>
-<div class="col-last odd-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Get all the Maven POM entries in the JAR.</div>
-</div>
-<div class="col-first even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></code></div>
-<div class="col-second even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4"><code><a
href="#getVersionEntries()"
class="member-name-link">getVersionEntries</a>()</code></div>
-<div class="col-last even-row-color method-summary-table
method-summary-table-tab2 method-summary-table-tab4">
-<div class="block">Get all the version text files in the JAR.</div>
-</div>
-</div>
-</div>
-</div>
-<div class="inherited-list">
-<h3 id="methods-inherited-from-class-java.lang.Object">Methods inherited from
class java.lang.<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html"
title="class or interface in java.lang" class="external-link">Object</a></h3>
-<code><a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone()"
title="class or interface in java.lang" class="external-link">clone</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals(java.lang.Object)"
title="class or interface in java.lang" class="external-link">equals</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize()"
title="class or interface in java.lang" class="external-link">finalize</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass()"
title="class or interface in java.lang" class="external-link">getClass</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode()"
title="class or interface in java.lang" class="external-link">hashCode</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify()"
title="class or interface in java.lang" class="external-link">notify</a>, <a
href="https://docs.o
racle.com/javase/8/docs/api/java/lang/Object.html#notifyAll()" title="class or
interface in java.lang" class="external-link">notifyAll</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString()"
title="class or interface in java.lang" class="external-link">toString</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait()"
title="class or interface in java.lang" class="external-link">wait</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long)"
title="class or interface in java.lang" class="external-link">wait</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait(long,int)"
title="class or interface in java.lang"
class="external-link">wait</a></code></div>
-</section>
-</li>
-</ul>
-</section>
-<section class="details">
-<ul class="details-list">
-<!-- ========= CONSTRUCTOR DETAIL ======== -->
-<li>
-<section class="constructor-details" id="constructor-detail">
-<h2>Constructor Details</h2>
-<ul class="member-list">
-<li>
-<section class="detail" id="<init>(java.io.File)">
-<h3>JarAnalyzer</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="element-name">JarAnalyzer</span><wbr><span class="parameters">(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class
or interface in java.io" class="external-link">File</a> file)</span>
- throws <span class="exceptions"><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html"
title="class or interface in java.io"
class="external-link">IOException</a></span></div>
-<div class="block">Constructor. Opens the JAR file, so should be matched by a
call to <a href="#closeQuietly()"><code>closeQuietly()</code></a>.</div>
-<dl class="notes">
-<dt>Parameters:</dt>
-<dd><code>file</code> - the JAR file to open</dd>
-<dt>Throws:</dt>
-<dd><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html"
title="class or interface in java.io"
class="external-link">IOException</a></code> - if there is a problem opening
the JAR file, or reading the manifest. The JAR file
- will be closed if this occurs.</dd>
-</dl>
-</section>
-</li>
-</ul>
-</section>
-</li>
-<!-- ============ METHOD DETAIL ========== -->
-<li>
-<section class="method-details" id="method-detail">
-<h2>Method Details</h2>
-<ul class="member-list">
-<li>
-<section class="detail" id="getEntryInputStream(java.util.jar.JarEntry)">
-<h3>getEntryInputStream</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html"
title="class or interface in java.io"
class="external-link">InputStream</a></span> <span
class="element-name">getEntryInputStream</span><wbr><span
class="parameters">(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a> entry)</span>
- throws <span class="exceptions"><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html"
title="class or interface in java.io"
class="external-link">IOException</a></span></div>
-<div class="block">Get the data for an individual entry in the JAR. The caller
should closeQuietly the input stream, and should not
- retain the stream as the JAR file may be closed elsewhere.</div>
-<dl class="notes">
-<dt>Parameters:</dt>
-<dd><code>entry</code> - the JAR entry to read from</dd>
-<dt>Returns:</dt>
-<dd>the input stream of the individual JAR entry.</dd>
-<dt>Throws:</dt>
-<dd><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html"
title="class or interface in java.io"
class="external-link">IOException</a></code> - if there is a problem opening
the individual entry</dd>
-</dl>
-</section>
-</li>
-<li>
-<section class="detail" id="closeQuietly()">
-<h3>closeQuietly</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type">void</span> <span
class="element-name">closeQuietly</span>()</div>
-<div class="block">Close the associated JAR file, ignoring any errors that may
occur.</div>
-</section>
-</li>
-<li>
-<section class="detail" id="filterEntries(java.util.regex.Pattern)">
-<h3>filterEntries</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></span> <span
class="element-name">filterEntries</span><wbr><span class="parameters">(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html"
title="class or interface in java.util.regex"
class="external-link">Pattern</a> pattern)</span></div>
-<div class="block">Filter a list of JAR entries against the pattern.</div>
-<dl class="notes">
-<dt>Parameters:</dt>
-<dd><code>pattern</code> - the pattern to filter against</dd>
-<dt>Returns:</dt>
-<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link"><code>JarEntry</code></a> elements</dd>
-</dl>
-</section>
-</li>
-<li>
-<section class="detail" id="getClassEntries()">
-<h3>getClassEntries</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></span> <span
class="element-name">getClassEntries</span>()</div>
-<div class="block">Get all the classes in the JAR.</div>
-<dl class="notes">
-<dt>Returns:</dt>
-<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link"><code>JarEntry</code></a> elements</dd>
-</dl>
-</section>
-</li>
-<li>
-<section class="detail" id="getMavenPomEntries()">
-<h3>getMavenPomEntries</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></span> <span
class="element-name">getMavenPomEntries</span>()</div>
-<div class="block">Get all the Maven POM entries in the JAR.</div>
-<dl class="notes">
-<dt>Returns:</dt>
-<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link"><code>JarEntry</code></a> elements</dd>
-</dl>
-</section>
-</li>
-<li>
-<section class="detail" id="getVersionEntries()">
-<h3>getVersionEntries</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></span> <span
class="element-name">getVersionEntries</span>()</div>
-<div class="block">Get all the version text files in the JAR.</div>
-<dl class="notes">
-<dt>Returns:</dt>
-<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link"><code>JarEntry</code></a> elements</dd>
-</dl>
-</section>
-</li>
-<li>
-<section class="detail" id="getEntries()">
-<h3>getEntries</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html"
title="class or interface in java.util" class="external-link">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link">JarEntry</a>></span> <span
class="element-name">getEntries</span>()</div>
-<div class="block">Get all the contained files in the JAR.</div>
-<dl class="notes">
-<dt>Returns:</dt>
-<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html"
title="class or interface in java.util.jar"
class="external-link"><code>JarEntry</code></a> elements</dd>
-</dl>
-</section>
-</li>
-<li>
-<section class="detail" id="getFile()">
-<h3>getFile</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html" title="class
or interface in java.io" class="external-link">File</a></span> <span
class="element-name">getFile</span>()</div>
-<div class="block">Get the file that was opened by this analyzer.</div>
-<dl class="notes">
-<dt>Returns:</dt>
-<dd>the JAR file reference</dd>
-</dl>
-</section>
-</li>
-<li>
-<section class="detail" id="getJarData()">
-<h3>getJarData</h3>
-<div class="member-signature"><span class="modifiers">public</span> <span
class="return-type"><a href="JarData.html" title="class in
org.apache.maven.shared.jar">JarData</a></span> <span
class="element-name">getJarData</span>()</div>
-</section>
-</li>
-</ul>
-</section>
-</li>
-</ul>
-</section>
-<!-- ========= END OF CLASS DATA ========= -->
-</main>
-<footer role="contentinfo">
-<hr>
-<p class="legal-copy"><small>Copyright © 2002–2023 <a
href="https://www.apache.org/">The Apache Software Foundation</a>. All rights
reserved.</small></p>
-</footer>
-</div>
-</div>
-</body>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
+<!-- NewPage -->
+<html lang="en">
+<head>
+<!-- Generated by javadoc -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>JarAnalyzer (Apache Maven JAR Utilities 3.1.0 API)</title>
+<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css"
title="Style">
+<script type="text/javascript" src="../../../../../script.js"></script>
+</head>
+<body>
+<script type="text/javascript"><!--
+ try {
+ if (location.href.indexOf('is-external=true') == -1) {
+ parent.document.title="JarAnalyzer (Apache Maven JAR Utilities
3.1.0 API)";
+ }
+ }
+ catch(err) {
+ }
+//-->
+var methods =
{"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10};
+var tabs = {65535:["t0","All Methods"],2:["t2","Instance
Methods"],8:["t4","Concrete Methods"]};
+var altColor = "altColor";
+var rowColor = "rowColor";
+var tableTab = "tableTab";
+var activeTableTab = "activeTableTab";
+</script>
+<noscript>
+<div>JavaScript is disabled on your browser.</div>
+</noscript>
+<!-- ========= START OF TOP NAVBAR ======= -->
+<div class="topNav"><a name="navbar.top">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation
links">Skip navigation links</a></div>
+<a name="navbar.top.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/JarAnalyzer.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li><a href="../../../../../org/apache/maven/shared/jar/JarData.html"
title="class in org.apache.maven.shared.jar"><span
class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a
href="../../../../../index.html?org/apache/maven/shared/jar/JarAnalyzer.html"
target="_top">Frames</a></li>
+<li><a href="JarAnalyzer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_top");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<!-- ======== START OF CLASS DATA ======== -->
+<div class="header">
+<div class="subTitle">org.apache.maven.shared.jar</div>
+<h2 title="Class JarAnalyzer" class="title">Class JarAnalyzer</h2>
+</div>
+<div class="contentContainer">
+<ul class="inheritance">
+<li><a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">java.lang.Object</a></li>
+<li>
+<ul class="inheritance">
+<li>org.apache.maven.shared.jar.JarAnalyzer</li>
+</ul>
+</li>
+</ul>
+<div class="description">
+<ul class="blockList">
+<li class="blockList">
+<hr>
+<br>
+<pre>public class <span class="typeNameLabel">JarAnalyzer</span>
+extends <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a></pre>
+<div class="block">Open a JAR file to be analyzed. Note that once created, the
<a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#closeQuietly--"><code>closeQuietly()</code></a>
method should be called to
+ release the associated file handle.
+
+ Typical usage:
+ <pre>
+ JarAnalyzer jar = new JarAnalyzer( jarFile );
+
+ try
+ {
+ // do some analysis, such as:
+ jarClasses = jarClassAnalyzer.analyze( jar );
+ }
+ finally
+ {
+ jar.closeQuietly();
+ }
+
+ // use jar.getJarData() in some way, or the data returned by the JAR
analyzer. jar itself can no longer be used.
+ </pre>
+
+ Note: that the actual data is separated from this class by design to minimise
the chance of forgetting to close the
+ JAR file. The <a
href="../../../../../org/apache/maven/shared/jar/JarData.html" title="class in
org.apache.maven.shared.jar"><code>JarData</code></a> class exposed, as well as
any data returned by actual
+ analyzers that use this class, can be used safely once this class is out of
scope.</div>
+<dl>
+<dt><span class="seeLabel">See Also:</span></dt>
+<dd><a
href="../../../../../org/apache/maven/shared/jar/identification/JarIdentificationAnalysis.html#analyze-org.apache.maven.shared.jar.JarAnalyzer-"><code>JarIdentificationAnalysis.analyze(JarAnalyzer)</code></a>,
+<a
href="../../../../../org/apache/maven/shared/jar/classes/JarClassesAnalysis.html#analyze-org.apache.maven.shared.jar.JarAnalyzer-"><code>JarClassesAnalysis.analyze(JarAnalyzer)</code></a></dd>
+</dl>
+</li>
+</ul>
+</div>
+<div class="summary">
+<ul class="blockList">
+<li class="blockList">
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.summary">
+<!-- -->
+</a>
+<h3>Constructor Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0"
summary="Constructor Summary table, listing constructors, and an explanation">
+<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tr class="altColor">
+<td class="colOne"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#JarAnalyzer-java.io.File-">JarAnalyzer</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true"
title="class or interface in java.io">File</a> file)</code>
+<div class="block">Constructor.</div>
+</td>
+</tr>
+</table>
+</li>
+</ul>
+<!-- ========== METHOD SUMMARY =========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.summary">
+<!-- -->
+</a>
+<h3>Method Summary</h3>
+<table class="memberSummary" border="0" cellpadding="3" cellspacing="0"
summary="Method Summary table, listing methods, and an explanation">
+<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span
class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a
href="javascript:show(2);">Instance Methods</a></span><span
class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a
href="javascript:show(8);">Concrete Methods</a></span><span
class="tabEnd"> </span></span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tr id="i0" class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#closeQuietly--">closeQuietly</a></span>()</code>
+<div class="block">Close the associated JAR file, ignoring any errors that may
occur.</div>
+</td>
+</tr>
+<tr id="i1" class="rowColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#filterEntries-java.util.regex.Pattern-">filterEntries</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true"
title="class or interface in java.util.regex">Pattern</a> pattern)</code>
+<div class="block">Filter a list of JAR entries against the pattern.</div>
+</td>
+</tr>
+<tr id="i2" class="altColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getClassEntries--">getClassEntries</a></span>()</code>
+<div class="block">Get all the classes in the JAR.</div>
+</td>
+</tr>
+<tr id="i3" class="rowColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getClassEntries-java.util.List-">getClassEntries</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> entryList)</code>
+<div class="block">Get all the classes in the entry list.</div>
+</td>
+</tr>
+<tr id="i4" class="altColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getEntries--">getEntries</a></span>()</code>
+<div class="block">Get all the contained files in the JAR.</div>
+</td>
+</tr>
+<tr id="i5" class="rowColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true"
title="class or interface in java.io">InputStream</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getEntryInputStream-java.util.jar.JarEntry-">getEntryInputStream</a></span>(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a> entry)</code>
+<div class="block">Get the data for an individual entry in the JAR.</div>
+</td>
+</tr>
+<tr id="i6" class="altColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true"
title="class or interface in java.io">File</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getFile--">getFile</a></span>()</code>
+<div class="block">Get the file that was opened by this analyzer.</div>
+</td>
+</tr>
+<tr id="i7" class="rowColor">
+<td class="colFirst"><code><a
href="../../../../../org/apache/maven/shared/jar/JarData.html" title="class in
org.apache.maven.shared.jar">JarData</a></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getJarData--">getJarData</a></span>()</code> </td>
+</tr>
+<tr id="i8" class="altColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getMavenPomEntries--">getMavenPomEntries</a></span>()</code>
+<div class="block">Get all the Maven POM entries in the JAR.</div>
+</td>
+</tr>
+<tr id="i9" class="rowColor">
+<td class="colFirst"><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a>></code></td>
+<td class="colLast"><code><span class="memberNameLink"><a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#getVersionEntries--">getVersionEntries</a></span>()</code>
+<div class="block">Get all the version text files in the JAR.</div>
+</td>
+</tr>
+</table>
+<ul class="blockList">
+<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
+<!-- -->
+</a>
+<h3>Methods inherited from class java.lang.<a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true"
title="class or interface in java.lang">Object</a></h3>
+<code><a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#clone--"
title="class or interface in java.lang">clone</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-"
title="class or interface in java.lang">equals</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#finalize--"
title="class or interface in java.lang">finalize</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#getClass--"
title="class or interface in java.lang">getClass</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#hashCode--"
title="class or interface in java.lang">hashCode</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#notify--"
title="class or interface in java.lang">notify</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/ja
va/lang/Object.html?is-external=true#notifyAll--" title="class or interface in
java.lang">notifyAll</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#toString--"
title="class or interface in java.lang">toString</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait--"
title="class or interface in java.lang">wait</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-"
title="class or interface in java.lang">wait</a>, <a
href="https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html?is-external=true#wait-long-int-"
title="class or interface in java.lang">wait</a></code></li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<div class="details">
+<ul class="blockList">
+<li class="blockList">
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<ul class="blockList">
+<li class="blockList"><a name="constructor.detail">
+<!-- -->
+</a>
+<h3>Constructor Detail</h3>
+<a name="JarAnalyzer-java.io.File-">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>JarAnalyzer</h4>
+<pre>public JarAnalyzer(<a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true"
title="class or interface in java.io">File</a> file)
+ throws <a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
+<div class="block">Constructor. Opens the JAR file, so should be matched by a
call to <a
href="../../../../../org/apache/maven/shared/jar/JarAnalyzer.html#closeQuietly--"><code>closeQuietly()</code></a>.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>file</code> - the JAR file to open</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></code> - if there is a
problem opening the JAR file, or reading the manifest. The JAR file
+ will be closed if this occurs.</dd>
+</dl>
+</li>
+</ul>
+</li>
+</ul>
+<!-- ============ METHOD DETAIL ========== -->
+<ul class="blockList">
+<li class="blockList"><a name="method.detail">
+<!-- -->
+</a>
+<h3>Method Detail</h3>
+<a name="getEntryInputStream-java.util.jar.JarEntry-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getEntryInputStream</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html?is-external=true"
title="class or interface in
java.io">InputStream</a> getEntryInputStream(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar">JarEntry</a> entry)
+ throws <a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></pre>
+<div class="block">Get the data for an individual entry in the JAR. The caller
should closeQuietly the input stream, and should not
+ retain the stream as the JAR file may be closed elsewhere.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>entry</code> - the JAR entry to read from</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the input stream of the individual JAR entry.</dd>
+<dt><span class="throwsLabel">Throws:</span></dt>
+<dd><code><a
href="https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html?is-external=true"
title="class or interface in java.io">IOException</a></code> - if there is a
problem opening the individual entry</dd>
+</dl>
+</li>
+</ul>
+<a name="closeQuietly--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>closeQuietly</h4>
+<pre>public void closeQuietly()</pre>
+<div class="block">Close the associated JAR file, ignoring any errors that may
occur.</div>
+</li>
+</ul>
+<a name="filterEntries-java.util.regex.Pattern-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>filterEntries</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> filterEntries(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/regex/Pattern.html?is-external=true"
title="class or interface in java.util.regex">Pattern</a> pattern)</pre>
+<div class="block">Filter a list of JAR entries against the pattern.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>pattern</code> - the pattern to filter against</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar"><code>JarEntry</code></a>
elements</dd>
+</dl>
+</li>
+</ul>
+<a name="getClassEntries--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getClassEntries</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> getClassEntries()</pre>
+<div class="block">Get all the classes in the JAR.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar"><code>JarEntry</code></a>
elements</dd>
+</dl>
+</li>
+</ul>
+<a name="getClassEntries-java.util.List-">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getClassEntries</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> getClassEntries(<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> entryList)</pre>
+<div class="block">Get all the classes in the entry list.</div>
+<dl>
+<dt><span class="paramLabel">Parameters:</span></dt>
+<dd><code>entryList</code> - the entry list.</dd>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the filtered entry list.</dd>
+<dt><span class="simpleTagLabel">Since:</span></dt>
+<dd>3.0.1</dd>
+</dl>
+</li>
+</ul>
+<a name="getMavenPomEntries--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getMavenPomEntries</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> getMavenPomEntries()</pre>
+<div class="block">Get all the Maven POM entries in the JAR.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar"><code>JarEntry</code></a>
elements</dd>
+</dl>
+</li>
+</ul>
+<a name="getVersionEntries--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getVersionEntries</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> getVersionEntries()</pre>
+<div class="block">Get all the version text files in the JAR.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar"><code>JarEntry</code></a>
elements</dd>
+</dl>
+</li>
+</ul>
+<a name="getEntries--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getEntries</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/List.html?is-external=true"
title="class or interface in java.util">List</a><<a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in
java.util.jar">JarEntry</a>> getEntries()</pre>
+<div class="block">Get all the contained files in the JAR.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the list of files found, in <a
href="https://docs.oracle.com/javase/8/docs/api/java/util/jar/JarEntry.html?is-external=true"
title="class or interface in java.util.jar"><code>JarEntry</code></a>
elements</dd>
+</dl>
+</li>
+</ul>
+<a name="getFile--">
+<!-- -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>getFile</h4>
+<pre>public <a
href="https://docs.oracle.com/javase/8/docs/api/java/io/File.html?is-external=true"
title="class or interface in java.io">File</a> getFile()</pre>
+<div class="block">Get the file that was opened by this analyzer.</div>
+<dl>
+<dt><span class="returnLabel">Returns:</span></dt>
+<dd>the JAR file reference</dd>
+</dl>
+</li>
+</ul>
+<a name="getJarData--">
+<!-- -->
+</a>
+<ul class="blockListLast">
+<li class="blockList">
+<h4>getJarData</h4>
+<pre>public <a
href="../../../../../org/apache/maven/shared/jar/JarData.html" title="class in
org.apache.maven.shared.jar">JarData</a> getJarData()</pre>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+</div>
+<!-- ========= END OF CLASS DATA ========= -->
+<!-- ======= START OF BOTTOM NAVBAR ====== -->
+<div class="bottomNav"><a name="navbar.bottom">
+<!-- -->
+</a>
+<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation
links">Skip navigation links</a></div>
+<a name="navbar.bottom.firstrow">
+<!-- -->
+</a>
+<ul class="navList" title="Navigation">
+<li><a href="../../../../../overview-summary.html">Overview</a></li>
+<li><a href="package-summary.html">Package</a></li>
+<li class="navBarCell1Rev">Class</li>
+<li><a href="class-use/JarAnalyzer.html">Use</a></li>
+<li><a href="package-tree.html">Tree</a></li>
+<li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
+<li><a href="../../../../../index-all.html">Index</a></li>
+<li><a href="../../../../../help-doc.html">Help</a></li>
+</ul>
+</div>
+<div class="subNav">
+<ul class="navList">
+<li>Prev Class</li>
+<li><a href="../../../../../org/apache/maven/shared/jar/JarData.html"
title="class in org.apache.maven.shared.jar"><span
class="typeNameLink">Next Class</span></a></li>
+</ul>
+<ul class="navList">
+<li><a
href="../../../../../index.html?org/apache/maven/shared/jar/JarAnalyzer.html"
target="_top">Frames</a></li>
+<li><a href="JarAnalyzer.html" target="_top">No Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li>
+</ul>
+<div>
+<script type="text/javascript"><!--
+ allClassesLink = document.getElementById("allclasses_navbar_bottom");
+ if(window==top) {
+ allClassesLink.style.display = "block";
+ }
+ else {
+ allClassesLink.style.display = "none";
+ }
+ //-->
+</script>
+</div>
+<div>
+<ul class="subNavList">
+<li>Summary: </li>
+<li>Nested | </li>
+<li>Field | </li>
+<li><a href="#constructor.summary">Constr</a> | </li>
+<li><a href="#method.summary">Method</a></li>
+</ul>
+<ul class="subNavList">
+<li>Detail: </li>
+<li>Field | </li>
+<li><a href="#constructor.detail">Constr</a> | </li>
+<li><a href="#method.detail">Method</a></li>
+</ul>
+</div>
+<a name="skip.navbar.bottom">
+<!-- -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright © 2002–2024 <a
href="https://www.apache.org/">The Apache Software Foundation</a>. All rights
reserved.</small></p>
+</body>
</html>
\ No newline at end of file