public class JarHashCodeAndFileType extends HashCodeAndFileType
TYPE_ARCHIVE, TYPE_DIRECTORY, TYPE_FILE
Modifier | Constructor and Description |
---|---|
protected |
JarHashCodeAndFileType(byte type,
com.google.common.hash.HashCode hashCode,
JarContentHasher jarContentHasher) |
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<Path,HashCodeAndFileType> |
getContents()
Return hash values for all files in an archive (like a JAR)
|
static HashCodeAndFileType |
ofArchive(com.google.common.hash.HashCode hashCode,
JarContentHasher jarContentHasher) |
equals, getHashCode, getType, hashCode, ofDirectory, ofFile
protected JarHashCodeAndFileType(byte type, com.google.common.hash.HashCode hashCode, JarContentHasher jarContentHasher)
public com.google.common.collect.ImmutableMap<Path,HashCodeAndFileType> getContents()
public static HashCodeAndFileType ofArchive(com.google.common.hash.HashCode hashCode, JarContentHasher jarContentHasher)