Uses of Class
aQute.bnd.osgi.Jar
-
Packages that use Jar Package Description aQute.bnd.ant aQute.bnd.build aQute.bnd.compatibility aQute.bnd.differ This package provides baseline support.aQute.bnd.exporter.runbundles aQute.bnd.junit aQute.bnd.main aQute.bnd.maven aQute.bnd.maven.plugin aQute.bnd.obr aQute.bnd.osgi aQute.bnd.plugin.jpms aQute.bnd.service aQute.bnd.service.diff aQute.bnd.signing aQute.lib.deployer biz.aQute.bnd.reporter.helpers biz.aQute.bnd.reporter.plugins.entries.bundle -
-
Uses of Jar in aQute.bnd.ant
Fields in aQute.bnd.ant with type parameters of type Jar Modifier and Type Field Description private java.util.Map<java.lang.String,Jar>
RunconfigToDistributionTask. snapshots
Methods in aQute.bnd.ant that return types with arguments of type Jar Modifier and Type Method Description private java.util.Map<java.lang.String,Jar>
RunconfigToDistributionTask. indexBundleSnapshots()
-
Uses of Jar in aQute.bnd.build
Methods in aQute.bnd.build that return Jar Modifier and Type Method Description Jar[]
ProjectBuilder. builds()
Add some extra stuff to the builds() method like exporting.Jar
ProjectLauncher. executable()
Create a self executable.Jar
ProjectBuilder. getBaselineJar()
This method attempts to find the baseline jar for the current project.Jar
ProjectBuilder. getLastRevision()
Jar
Project. getValidJar(Jar jar, java.lang.String id)
Jar
Project. getValidJar(java.io.File f)
This methods attempts to turn any jar into a valid jar.Jar
Project. getValidJar(java.net.URL url)
Jar
Project. pack(java.lang.String profile)
Caller must close this JARMethods in aQute.bnd.build that return types with arguments of type Jar Modifier and Type Method Description java.util.List<Jar>
ProjectBuilder. getClasspath()
Methods in aQute.bnd.build with parameters of type Jar Modifier and Type Method Description void
ProjectBuilder. doBaseline(Jar dot)
Compare this builder's JAR with a baselineJar
Project. getValidJar(Jar jar, java.lang.String id)
private void
Project. reportNewer(long lastModified, Jar jar)
java.io.File
Project. saveBuild(Jar jar)
-
Uses of Jar in aQute.bnd.compatibility
Methods in aQute.bnd.compatibility with parameters of type Jar Modifier and Type Method Description void
ParseSignatureBuilder. add(Jar jar)
-
Uses of Jar in aQute.bnd.differ
Methods in aQute.bnd.differ with parameters of type Jar Modifier and Type Method Description java.util.Set<Baseline.Info>
Baseline. baseline(Jar newer, Jar older, Instructions packageFilters)
This method compares a jar to a baseline jar and returns version suggestions if the baseline does not agree with the newer jar.private Parameters
Baseline. getExports(Jar jar)
Tree
DiffPluginImpl. tree(Jar newer)
-
Uses of Jar in aQute.bnd.exporter.runbundles
Methods in aQute.bnd.exporter.runbundles with parameters of type Jar Modifier and Type Method Description private java.lang.String
RunbundlesExporter. nonCollidingPath(Jar jar, java.lang.String fileName)
-
Uses of Jar in aQute.bnd.junit
Fields in aQute.bnd.junit declared as Jar Modifier and Type Field Description Jar
JUnitFramework. bin_test
Deprecated. -
Uses of Jar in aQute.bnd.main
Methods in aQute.bnd.main that return Jar Modifier and Type Method Description (package private) Jar
bnd. getJar(java.lang.String s)
Central routine to get a JAR with error checkingMethods in aQute.bnd.main with parameters of type Jar Modifier and Type Method Description private void
bnd. add(Jar jar, java.io.File base, java.lang.String path, boolean report)
Helper for the jar create function, adds files to the jarprivate void
bnd. addAll(Jar output, Jar sub, java.lang.String prefix, java.util.List<java.lang.String> bundleClassPath)
private void
BaselineCommands. baseline(BaselineCommands.baseLineOptions opts, Jar newer, Jar older, Instructions packages)
private void
DiffCommand. diff(DiffCommand.diffOptions options, DiffPluginImpl di, Jar newer, Jar older)
private void
bnd. doPrint(Jar jar, int options, bnd.printOptions po)
private static Tag
DiffCommand. getTagFrom(java.lang.String name, Jar jar)
private void
bnd. printComponents(java.io.PrintStream out, Jar jar)
Print the components in this JAR.private void
bnd. printMetatype(java.io.PrintStream out, Jar jar)
Print the metatypes in this JAR. -
Uses of Jar in aQute.bnd.maven
Methods in aQute.bnd.maven that return Jar Modifier and Type Method Description protected Jar
MavenCommand. getJarFromFileOrURL(java.lang.String spec)
private Jar
MavenCommand. javadoc(java.io.File source, java.util.Set<java.lang.String> exports, java.util.jar.Manifest m, java.util.Properties p)
private Jar
MavenDeploy. javadoc(java.io.File tmp, Project b, java.util.Set<java.lang.String> exports)
private Jar
MavenDeployCmd. javadoc(java.io.File tmp, Project b, java.util.Set<java.lang.String> exports)
Methods in aQute.bnd.maven with parameters of type Jar Modifier and Type Method Description private void
MavenCommand. copyInfo(Jar source, Jar dest, java.lang.String type)
private void
MavenCommand. copyInfoResource(Jar source, Jar dest, java.lang.String type)
boolean
MavenDeployCmd. deploy(Project project, Jar original)
private void
MavenDeploy. split(Jar original, Jar main, Jar src)
private void
MavenDeployCmd. split(Jar original, Jar main, Jar src)
-
Uses of Jar in aQute.bnd.maven.plugin
Methods in aQute.bnd.maven.plugin with parameters of type Jar Modifier and Type Method Description private void
BndMavenPlugin. expandJar(Jar jar, java.io.File dir)
-
Uses of Jar in aQute.bnd.obr
Methods in aQute.bnd.obr with parameters of type Jar Modifier and Type Method Description static Reporter
OBRFragment. parse(Jar jar, ResourceBuilder resource)
-
Uses of Jar in aQute.bnd.osgi
Fields in aQute.bnd.osgi declared as Jar Modifier and Type Field Description private Jar
Analyzer. dot
private Jar
Verifier. dot
private Jar
JarResource. jar
(package private) Jar
ActivelyClosingClassLoader.Wrapper. jarFile
Fields in aQute.bnd.osgi with type parameters of type Jar Modifier and Type Field Description private java.util.List<Jar>
Analyzer. classpath
Methods in aQute.bnd.osgi that return Jar Modifier and Type Method Description Jar
Builder. build()
private Jar
Jar. buildFromDirectory(java.nio.file.Path baseDir, java.util.regex.Pattern doNotCopy)
private Jar
Jar. buildFromInputStream(java.io.InputStream in, long lastModified)
private Jar
Jar. buildFromResource(Resource resource)
private Jar
Jar. buildFromZip(java.io.File file)
Jar[]
Builder. builds()
Build Multiple jars.private Jar
Builder. doWab(Jar dot)
Turn this normal bundle in a web and add any resources.Jar
Analyzer. findClasspathEntry(java.lang.String bsn, java.lang.String r)
Find a class path entry based on bsn and versionrangestatic Jar
Jar. fromResource(java.lang.String name, Resource resource)
private Jar
Builder. getBuildJar()
protected Jar
Analyzer. getExtra()
protected Jar
Builder. getExtra()
Answer extra packages.Jar
Analyzer. getJar()
Jar
JarResource. getJar()
Jar
Analyzer. getJarFromName(java.lang.String name, java.lang.String from)
Try to get a Jar from a file name/path or a url, or in last resort from the classpath name part of their files.Jar
Processor. getJarFromName(java.lang.String name, java.lang.String from)
Try to get a Jar from a file name/path or a url, or in last resort from the classpath name part of their files.Jar
Analyzer. getTarget()
Jar
Analyzer. setJar(Jar jar)
Set the JAR directly we are going to work on.Jar
Analyzer. setJar(java.io.File file)
Set the JAR file we are going to work in.private Jar
Analyzer. toJar(java.util.Map.Entry<java.lang.String,Attrs> host)
Methods in aQute.bnd.osgi that return types with arguments of type Jar Modifier and Type Method Description private java.util.List<Jar>
Builder. filterFrom(Instruction from, java.util.List<Jar> providers)
java.util.List<Jar>
Analyzer. getClasspath()
java.util.List<Jar>
Analyzer. getJarsFromName(java.lang.String name, java.lang.String from)
Methods in aQute.bnd.osgi with parameters of type Jar Modifier and Type Method Description boolean
Builder. addAll(Jar to, Jar sub, Instruction filter)
Add all the resources in the given jar that match the given filter.boolean
Builder. addAll(Jar to, Jar sub, Instruction filter, java.lang.String destination)
Add all the resources in the given jar that match the given filter.boolean
Jar. addAll(Jar src)
boolean
Jar. addAll(Jar sub, Instruction filter)
Add all the resources in the given jar that match the given filter.boolean
Jar. addAll(Jar sub, Instruction filter, java.lang.String destination)
Add all the resources in the given jar that match the given filter.void
Analyzer. addClasspath(Jar jar)
private void
Builder. addSources(Jar dot)
private void
Builder. addWabLib(Jar dot, java.io.File f, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> attrs)
Add a wab lib to the jar.private boolean
Analyzer. analyzeJar(Jar jar, java.lang.String prefix, boolean okToIncludeDirs, java.lang.String bcpEntry)
We traverse through all the classes that we can find and calculate the contained and referred set and uses.java.lang.String
Analyzer. calculateExportsFromContents(Jar bundle)
Calculate an export header solely based on the contents of a JAR fileprivate void
Builder. copy(Jar dest, Jar srce, java.lang.String path, boolean overwrite)
Copprivate void
Builder. copy(Jar jar, java.lang.String path, Resource resource, java.util.Map<java.lang.String,java.lang.String> extra)
private void
Builder. copy(Jar jar, java.lang.String path, java.io.File from, Instructions preprocess, java.util.Map<java.lang.String,java.lang.String> extra)
void
Jar. copy(Jar srce, java.lang.String path, boolean overwrite)
private void
Builder. copyPackage(Jar dest, java.util.List<Jar> providers, java.lang.String path, int splitStrategy)
Copy the package from the providers based on the split package strategy.protected void
Builder. doBaseline(Jar dot)
Base line against a previous version.private void
Builder. doClassAttribute(Jar jar, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, boolean absentIsOk)
private void
Builder. doCommand(Jar jar, java.lang.String source, java.lang.String destination, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, boolean absentIsOk)
It is possible in Include-Resource to use a system command that generates the contents, this is indicated withcmd
attribute.void
Builder. doDiff(Jar dot)
Diff this bundle to another bundle for the given packages.private void
Builder. doDigests(Jar dot)
Check if we need to calculate any checksums.private void
Builder. doExpand(Jar dot)
private java.util.Set<Instruction>
Builder. doExpand(Jar jar, MultiMap<java.lang.String,Jar> index, Instructions filter)
Destructively filter the packages from the build up index.private void
Builder. doIncludeResource(Jar jar, Parameters clauses)
private void
Builder. doIncludeResource(Jar jar, java.lang.String includes)
private void
Builder. doIncludeResource(Jar jar, java.lang.String name, java.util.Map<java.lang.String,java.lang.String> extra)
private void
Builder. doIncludeResources(Jar jar)
Parse the Bundle-Includes header.private void
Analyzer. doNamesection(Jar dot, java.util.jar.Manifest manifest)
Parse the namesection as instructions and then match them against the current set of resources For example:(package private) void
Builder. doPom(Jar dot)
private java.lang.String
Builder. doResourceDirectory(Jar jar, java.util.Map<java.lang.String,java.lang.String> extra, Instructions preprocess, java.io.File sourceFile, java.lang.String destinationPath)
private void
Builder. doSaveManifest(Jar dot)
Get the manifest and write it out separately if -savemanifest is setprivate void
Builder. doVerify(Jar dot)
private Jar
Builder. doWab(Jar dot)
Turn this normal bundle in a web and add any resources.private void
Builder. extractFromJar(Jar jar, java.lang.String source, java.lang.String destination, boolean absentIsOk)
Extra resources from a Jar and add them to the given jar.private void
Analyzer. getManifestInfoFromClasspath(Jar jar, Packages classpathExports, Contracts contracts)
protected java.lang.String
Analyzer. getName(Jar jar)
private void
Analyzer. learnPackage(Jar jar, java.lang.String prefix, Descriptors.PackageRef packageRef, Packages map)
private void
Builder. noSuchFile(Jar jar, java.lang.String clause, java.util.Map<java.lang.String,java.lang.String> extra, java.lang.String source, java.lang.String destinationPath)
void
Analyzer. setClasspath(Jar[] classpath)
Jar
Analyzer. setJar(Jar jar)
Set the JAR directly we are going to work on.void
Domain. setTranslation(Jar jar)
(package private) void
Builder. sign(Jar jar)
Sign the jar file.Method parameters in aQute.bnd.osgi with type arguments of type Jar Modifier and Type Method Description private void
Builder. copyPackage(Jar dest, java.util.List<Jar> providers, java.lang.String path, int splitStrategy)
Copy the package from the providers based on the split package strategy.private java.lang.String
Builder. diagnostic(java.lang.String pack, java.util.List<Jar> culprits)
Analyze the classpath for a split packageprivate java.util.Set<Instruction>
Builder. doExpand(Jar jar, MultiMap<java.lang.String,Jar> index, Instructions filter)
Destructively filter the packages from the build up index.private java.util.List<Jar>
Builder. filterFrom(Instruction from, java.util.List<Jar> providers)
Constructors in aQute.bnd.osgi with parameters of type Jar Constructor Description Analyzer(Jar jar)
JarResource(Jar jar)
JarResource(Jar jar, boolean closeJar)
Verifier(Jar jar)
-
Uses of Jar in aQute.bnd.plugin.jpms
Methods in aQute.bnd.plugin.jpms with parameters of type Jar Modifier and Type Method Description private java.lang.String
JPMSModuleInfoPlugin. getModuleName(Analyzer analyzer, Jar jar)
-
Uses of Jar in aQute.bnd.service
Methods in aQute.bnd.service with parameters of type Jar Modifier and Type Method Description void
RepositoryListenerPlugin. bundleAdded(RepositoryPlugin repository, Jar jar, java.io.File file)
Called when a bundle is added to a repository.void
RepositoryListenerPlugin. bundleRemoved(RepositoryPlugin repository, Jar jar, java.io.File file)
Called when a bundle removed from a repository. -
Uses of Jar in aQute.bnd.service.diff
Methods in aQute.bnd.service.diff with parameters of type Jar Modifier and Type Method Description Tree
Differ. tree(Jar source)
-
Uses of Jar in aQute.bnd.signing
Methods in aQute.bnd.signing with parameters of type Jar Modifier and Type Method Description private void
Signer. doManifest(Jar jar, java.lang.String[] digestNames, java.security.MessageDigest[] algorithms, java.io.OutputStream out)
void
Signer. signJar(Jar jar)
-
Uses of Jar in aQute.lib.deployer
Methods in aQute.lib.deployer with parameters of type Jar Modifier and Type Method Description private SearchableRepository.ResourceDescriptor
FileRepo. buildDescriptor(java.io.File f, Jar jar, byte[] digest, java.lang.String bsn, Version version)
-
Uses of Jar in biz.aQute.bnd.reporter.helpers
Methods in biz.aQute.bnd.reporter.helpers with parameters of type Jar Modifier and Type Method Description static LocaleHelper
LocaleHelper. createIfPresent(Jar jar, java.util.Locale locale, java.lang.String basePath)
Create aLocaleHelper
if localization data are found at the specified path, otherwise returnnull
.static ManifestHelper
ManifestHelper. createIfPresent(Jar jar, java.util.Locale locale)
Create aManifestHelper
if the specified jar contains a manifest, otherwise returnnull
.private java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>
LocaleHelper. extractLocalizations(Jar jar, java.lang.String path)
private static boolean
LocaleHelper. hasLocalization(Jar jar, java.lang.String path)
Constructors in biz.aQute.bnd.reporter.helpers with parameters of type Jar Constructor Description LocaleHelper(Jar jar, java.util.Locale locale, java.lang.String basePath)
ManifestHelper(Jar jar, java.util.jar.Manifest manifest, java.util.Locale locale)
-
Uses of Jar in biz.aQute.bnd.reporter.plugins.entries.bundle
Methods in biz.aQute.bnd.reporter.plugins.entries.bundle with parameters of type Jar Modifier and Type Method Description java.lang.Object
ComponentsPlugin. extract(Jar jar, java.util.Locale locale)
java.lang.Object
ImportJarResourcePlugin. extract(Jar source, java.util.Locale locale)
OSGiHeadersDTO
ManifestPlugin. extract(Jar jar, java.util.Locale locale)
java.lang.Object
MavenCoordinatePlugin. extract(Jar jar, java.util.Locale locale)
java.lang.Object
MetatypesPlugin. extract(Jar jar, java.util.Locale locale)
private LocaleHelper
MetatypesPlugin. getLocalizationHelper(Jar jar, java.util.Locale locale, java.lang.String basePath)
private java.io.InputStream
ImportJarResourcePlugin. resolveFile(Jar source)
-