public class Resolver
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static interface |
Resolver.IProcessor<T> |
(package private) static class |
Resolver.ResultType |
| Modifier and Type | Field and Description |
|---|---|
private static char[] |
hexDigit
A table of hex digits
|
private Aether |
theAether |
static java.lang.String |
theCoreNlpVersion |
java.lang.String |
theLocalRepository |
static java.util.Map<java.lang.String,java.lang.String[]> |
theMap |
static java.lang.String |
theParserVersion |
java.lang.String |
thePhase |
java.lang.String |
theVersion |
private Resolver.IProcessor<org.sonatype.aether.artifact.Artifact> |
toFile |
private Resolver.IProcessor<org.sonatype.aether.artifact.Artifact> |
toId |
private Resolver.IProcessor<org.sonatype.aether.artifact.Artifact> |
toPath |
| Constructor and Description |
|---|
Resolver(java.lang.String thisVersion,
java.lang.String thisPhase,
java.lang.String thisLocalRepository) |
| Modifier and Type | Method and Description |
|---|---|
private static void |
addSlf4jImpl(java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> thisDependenciesMap) |
java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> |
getDependencies()
Get dependencies
|
java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> |
getDependencies(java.lang.String thisPhase)
Get dependencies
|
java.util.Properties |
getProperties(java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> thisDependenciesMap,
Resolver.ResultType thisResultType)
Get properties
|
static <T> java.lang.String |
join(java.lang.String thisGlue,
Resolver.IProcessor<T> thisProcessor,
java.util.Collection<T> theseObjects)
Join string array
|
static void |
main(java.lang.String[] args) |
java.util.Collection<org.sonatype.aether.artifact.Artifact> |
resolve(java.lang.String thisScope,
java.lang.String... theseNames) |
org.sonatype.aether.artifact.Artifact |
resolve1(org.sonatype.aether.artifact.Artifact thisArtifact) |
private static java.lang.String |
saveConvert(java.lang.String theString,
boolean escapeSpace,
boolean escapeUnicode) |
static boolean |
saveSettings(java.lang.String thisFilePath,
java.util.Properties theseSettings)
Save persist data
|
private static void |
store(java.util.Properties theseProperties,
java.io.OutputStream thisOut,
java.lang.String theseComments) |
private static char |
toHex(int nibble)
Convert a nibble to a hex character
|
public static java.lang.String theCoreNlpVersion
public static java.lang.String theParserVersion
public static java.util.Map<java.lang.String,java.lang.String[]> theMap
private final Aether theAether
public final java.lang.String theVersion
public final java.lang.String thePhase
public final java.lang.String theLocalRepository
private final Resolver.IProcessor<org.sonatype.aether.artifact.Artifact> toId
private final Resolver.IProcessor<org.sonatype.aether.artifact.Artifact> toFile
private final Resolver.IProcessor<org.sonatype.aether.artifact.Artifact> toPath
private static final char[] hexDigit
public Resolver(java.lang.String thisVersion,
java.lang.String thisPhase,
java.lang.String thisLocalRepository)
public java.util.Collection<org.sonatype.aether.artifact.Artifact> resolve(java.lang.String thisScope,
java.lang.String... theseNames)
throws org.sonatype.aether.resolution.DependencyResolutionException
org.sonatype.aether.resolution.DependencyResolutionExceptionpublic org.sonatype.aether.artifact.Artifact resolve1(org.sonatype.aether.artifact.Artifact thisArtifact)
throws org.sonatype.aether.resolution.DependencyResolutionException
org.sonatype.aether.resolution.DependencyResolutionExceptionpublic static <T> java.lang.String join(java.lang.String thisGlue,
Resolver.IProcessor<T> thisProcessor,
java.util.Collection<T> theseObjects)
T - processor result typethisGlue - string gluethisProcessor - processortheseObjects - object arraypublic java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> getDependencies()
throws org.sonatype.aether.resolution.DependencyResolutionException
org.sonatype.aether.resolution.DependencyResolutionException - exceptionpublic java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> getDependencies(java.lang.String thisPhase)
throws org.sonatype.aether.resolution.DependencyResolutionException
thisPhase - phase (compile,runtime)org.sonatype.aether.resolution.DependencyResolutionException - exceptionpublic java.util.Properties getProperties(java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> thisDependenciesMap,
Resolver.ResultType thisResultType)
thisDependenciesMap - map of dependenciesthisResultType - result typeorg.sonatype.aether.resolution.DependencyResolutionException - exceptionpublic static boolean saveSettings(java.lang.String thisFilePath,
java.util.Properties theseSettings)
thisFilePath - persist filetheseSettings - settings to persistprivate static void store(java.util.Properties theseProperties,
java.io.OutputStream thisOut,
java.lang.String theseComments)
throws java.io.IOException
java.io.IOExceptionprivate static java.lang.String saveConvert(java.lang.String theString,
boolean escapeSpace,
boolean escapeUnicode)
private static char toHex(int nibble)
nibble - the nibble to convert.private static void addSlf4jImpl(java.util.Map<java.lang.String,java.util.Collection<org.sonatype.aether.artifact.Artifact>> thisDependenciesMap)
public static void main(java.lang.String[] args)
throws org.sonatype.aether.resolution.DependencyResolutionException
org.sonatype.aether.resolution.DependencyResolutionException