| Modifier and Type | Field and Description |
|---|---|
| private final Set | allResourcePaths
All resource paths. |
| private Recycler | moduleReaderProxyRecycler
The module reader proxy recycler. |
| pack-priv final ModuleRef | moduleRef
The module ref. |
| pack-priv SingletonMap | moduleRefToModuleReaderProxyRecyclerMap
A singleton map from a |
| Access | Constructor and Description |
|---|---|
| pack-priv | ClasspathElementModule(final ModuleRef
the module ref moduleRef, final SingletonMap<ModuleRef, Recycler<ModuleReaderProxy, IOException>, IOException> the module ref to module reader proxy recycler map moduleRefToModuleReaderProxyRecyclerMap, final Scanner.the work unit workUnit,the scan spec scanSpec)A zip/jarfile classpath element. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | Returns: true, if successfulthe obj obj)Overrides java. Equals. |
| pack-priv List | getAllURIs()
Implements abstract io. Get the URI for this classpath element, and the URIs for any automatic nested package prefixes (e.g. "spring-boot.jar/BOOT-INF/classes") within this jarfile. |
| pack-priv File | getFile()
Implements abstract io. Get the file for this classpath element, or null if this is a module with a "jrt:" URI. |
| public String | Returns: the module name, or null if the module does not have a name.Implements abstract io. Get the module name from the module reference or the module descriptor. |
| private String | Returns: the module name, or the empty string if the module does not have a name.Get the module name from the module reference or the module descriptor. |
| pack-priv ModuleRef | |
| pack-priv Resource | Returns: TheResource for the given relative path, or null if relativePath does not exist in this
classpath element.The relative path of the relativePath)Resource to return.Implements abstract io. Get the |
| pack-priv URI | getURI()
Implements abstract io. Get the URI for this classpath element. |
| public int | |
| private Resource | Returns: the resourcethe resource path resourcePath)Create a new |
| pack-priv void | open(final WorkQueue<Scanner.
the work queue workQueueIgnored,the log log)Implements abstract io. Determine if this classpath element is valid. |
| pack-priv void | scanPaths(final LogNode
the log log)Implements abstract io. Scan for package matches within module. |
| public String | Returns: the stringOverrides java. Return the module reference as a String. |
| allResourcePaths | back to summary |
|---|---|
| private final Set<String> allResourcePaths All resource paths. | |
| moduleReaderProxyRecycler | back to summary |
|---|---|
| private Recycler<ModuleReaderProxy, IOException> moduleReaderProxyRecycler The module reader proxy recycler. | |
| moduleRef | back to summary |
|---|---|
| pack-priv final ModuleRef moduleRef The module ref. | |
| moduleRefToModuleReaderProxyRecyclerMap | back to summary |
|---|---|
| pack-priv SingletonMap<ModuleRef, Recycler<ModuleReaderProxy, IOException>, IOException> moduleRefToModuleReaderProxyRecyclerMap A singleton map from a | |
| ClasspathElementModule | back to summary |
|---|---|
| pack-priv ClasspathElementModule(final ModuleRef moduleRef, final SingletonMap<ModuleRef, Recycler<ModuleReaderProxy, IOException>, IOException> moduleRefToModuleReaderProxyRecyclerMap, final Scanner. A zip/jarfile classpath element.
| |
| equals | back to summary |
|---|---|
| public boolean equals(final Object obj) Overrides java. Equals. | |
| getAllURIs | back to summary |
|---|---|
| pack-priv List Implements abstract io. Doc from io. Get the URI for this classpath element, and the URIs for any automatic nested package prefixes (e.g. "spring-boot.jar/BOOT-INF/classes") within this jarfile. | |
| getFile | back to summary |
|---|---|
| pack-priv File getFile() Implements abstract io. Doc from io. Get the file for this classpath element, or null if this is a module with a "jrt:" URI. | |
| getModuleName | back to summary |
|---|---|
| public String getModuleName() Implements abstract io. Get the module name from the module reference or the module descriptor. | |
| getModuleNameOrEmpty | back to summary |
|---|---|
| private String getModuleNameOrEmpty() Get the module name from the module reference or the module descriptor.
| |
| getModuleRef | back to summary |
|---|---|
| pack-priv ModuleRef getModuleRef() Get the ModuleRef for this classpath element.
| |
| getResource | back to summary |
|---|---|
| pack-priv Resource getResource(final String relativePath) Implements abstract io. Get the | |
| getURI | back to summary |
|---|---|
| pack-priv URI getURI() Implements abstract io. Doc from io. Get the URI for this classpath element. | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Hash code.
| |
| newResource | back to summary |
|---|---|
| private Resource newResource(final String resourcePath) Create a new | |
| open | back to summary |
|---|---|
| pack-priv void open(final WorkQueue<Scanner. Implements abstract io. Doc from io. Determine if this classpath element is valid. If it is not valid, sets skipClasspathElement. For
| |
| scanPaths | back to summary |
|---|---|
| pack-priv void scanPaths(final LogNode log) Implements abstract io. Scan for package matches within module. | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Return the module reference as a String. | |