public final class DependencyParser
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
DependencyParser.DependencyInfo |
private static class |
DependencyParser.DependencyParserException |
Modifier and Type | Field and Description |
---|---|
private static com.google.common.collect.ImmutableList<java.lang.String> |
DEPENDENCY_INSTRUCTIONS |
private static com.google.common.base.Splitter |
DEPENDENCY_INSTRUCTIONS_SPLITTER |
private static com.google.common.base.Splitter |
DEPENDENCY_PART_SPLITTER |
private static com.google.common.base.Splitter |
DEPENDENCY_SPLITTER |
private java.lang.String |
modId |
private Side |
side |
Constructor and Description |
---|
DependencyParser(java.lang.String modId,
Side side) |
Modifier and Type | Method and Description |
---|---|
DependencyParser.DependencyInfo |
parseDependencies(java.lang.String dependencyString) |
private void |
parseDependency(java.lang.String dep,
java.util.List<java.lang.String> instructions,
java.lang.String target,
DependencyParser.DependencyInfo info) |
private static void |
sanityCheckModId(java.lang.String modId,
java.lang.String dep,
java.lang.String depModId)
Based on
FMLModContainer.sanityCheckModId() |
private static final com.google.common.collect.ImmutableList<java.lang.String> DEPENDENCY_INSTRUCTIONS
private static final com.google.common.base.Splitter DEPENDENCY_INSTRUCTIONS_SPLITTER
private static final com.google.common.base.Splitter DEPENDENCY_PART_SPLITTER
private static final com.google.common.base.Splitter DEPENDENCY_SPLITTER
private final java.lang.String modId
private final Side side
public DependencyParser(java.lang.String modId, Side side)
public DependencyParser.DependencyInfo parseDependencies(java.lang.String dependencyString)
private void parseDependency(java.lang.String dep, java.util.List<java.lang.String> instructions, java.lang.String target, DependencyParser.DependencyInfo info)
private static void sanityCheckModId(java.lang.String modId, java.lang.String dep, java.lang.String depModId)
FMLModContainer.sanityCheckModId()