Class IniArtifactDataReader
java.lang.Object
org.eclipse.aether.internal.test.util.IniArtifactDataReader
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class
private static enum
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a data reader with the prefix""
.IniArtifactDataReader
(String prefix) Constructs a data reader with the given prefix. -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
cutComment
(String line) private List
<Dependency> dependencies
(List<String> list, boolean managed) private static boolean
private ArtifactDescription
Load an artifact description from the classpath and parse it.Open the given URL and parse ist.parseLiteral
(String description) Parse the given String.private Artifact
relocation
(List<String> list) private List
<RemoteRepository> repositories
(List<String> list)
-
Field Details
-
prefix
-
-
Constructor Details
-
IniArtifactDataReader
IniArtifactDataReader()Constructs a data reader with the prefix""
. -
IniArtifactDataReader
IniArtifactDataReader(String prefix) Constructs a data reader with the given prefix.- Parameters:
prefix
- the prefix to use for loading resources from the classpath.
-
-
Method Details
-
parse
Load an artifact description from the classpath and parse it.- Throws:
IOException
-
parse
Open the given URL and parse ist.- Throws:
IOException
-
parseLiteral
Parse the given String.- Throws:
IOException
-
parse
- Throws:
IOException
-
repositories
-
dependencies
-
relocation
-
isEmpty
-
cutComment
-