private static final class ConsolidatedResources.ResourceKey extends java.lang.Object implements java.lang.Comparable<ConsolidatedResources.ResourceKey>
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
directory |
private java.lang.String |
fileName |
Modifier | Constructor and Description |
---|---|
private |
ResourceKey(java.lang.String directory,
java.lang.String fileName) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ConsolidatedResources.ResourceKey otherKey) |
boolean |
equals(java.lang.Object other) |
static ConsolidatedResources.ResourceKey |
forDirectory(java.lang.String relPath) |
static ConsolidatedResources.ResourceKey |
forFile(java.lang.String relPath) |
java.lang.String |
getDirectory() |
java.lang.String |
getFileName() |
int |
hashCode() |
private final java.lang.String directory
private final java.lang.String fileName
private ResourceKey(java.lang.String directory, java.lang.String fileName)
public static ConsolidatedResources.ResourceKey forFile(java.lang.String relPath)
public static ConsolidatedResources.ResourceKey forDirectory(java.lang.String relPath)
public java.lang.String getDirectory()
public java.lang.String getFileName()
public int compareTo(ConsolidatedResources.ResourceKey otherKey)
compareTo
in interface java.lang.Comparable<ConsolidatedResources.ResourceKey>
public boolean equals(java.lang.Object other)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object