Documentation ¶
Overview ¶
Package java provides a concrete Cataloger implementation for Java archives (jar, war, ear, par, sar, jpi, hpi, and native-image formats).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewJavaCataloger ¶
NewJavaCataloger returns a new Java archive cataloger object.
func NewJavaPomCataloger ¶ added in v0.49.0
NewJavaPomCataloger returns a cataloger capable of parsing dependencies from a pom.xml file. Pom files list dependencies that maybe not be locally installed yet.
Types ¶
type NativeImageCataloger ¶ added in v0.66.0
type NativeImageCataloger struct{}
func NewNativeImageCataloger ¶ added in v0.66.0
func NewNativeImageCataloger() *NativeImageCataloger
newNativeImageCataloger returns a new Native Image cataloger object.
func (*NativeImageCataloger) Catalog ¶ added in v0.66.0
func (c *NativeImageCataloger) Catalog(resolver source.FileResolver) ([]pkg.Package, []artifact.Relationship, error)
Catalog attempts to find any native image executables reachable from a resolver.
func (*NativeImageCataloger) Name ¶ added in v0.66.0
func (c *NativeImageCataloger) Name() string
Name returns a string that uniquely describes a native image cataloger
Click to show internal directories.
Click to hide internal directories.