public final class ClassPathEntry extends Object
| Constructor and Description |
|---|
ClassPathEntry(org.eclipse.aether.artifact.Artifact artifact)
An entry for a Maven artifact.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
org.eclipse.aether.artifact.Artifact |
getArtifact()
Returns the Maven artifact associated with the JAR file, or null if the JAR file does not have
Maven coordinates.
|
com.google.common.collect.ImmutableSet<String> |
getFileNames()
Returns the names of the .class files in this entry's jar file.
|
int |
hashCode() |
String |
toString() |
public ClassPathEntry(org.eclipse.aether.artifact.Artifact artifact)
NullPointerException - if the artifact does not have a filepublic org.eclipse.aether.artifact.Artifact getArtifact()
public com.google.common.collect.ImmutableSet<String> getFileNames() throws IOException
.class and after converting each / to a period.IOException - if the jar file can't be readCopyright © 2018–2021 Google LLC.. All rights reserved.