public class SvnChecksum extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SvnChecksum.Kind
Describes the kind of used hash algorithm for computing the checksum.
|
| Constructor and Description |
|---|
SvnChecksum(SvnChecksum.Kind kind,
String digest)
Constructs an SvnChecksum object with the
specified parameters.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static SvnChecksum |
fromString(String checksum)
Creates checksum object from
String. |
String |
getDigest()
Gets computed checksum value.
|
SvnChecksum.Kind |
getKind()
Gets king of checksum.
|
int |
hashCode() |
static boolean |
match(SvnChecksum checksum1,
SvnChecksum checksum2) |
void |
setDigest(String digest)
Sets computed checksum value.
|
void |
setKind(SvnChecksum.Kind kind)
Sets kind of checksum.
|
String |
toString()
Returns
String representation of checksum. |
public SvnChecksum(SvnChecksum.Kind kind, String digest)
kind - kind of checksumdigest - computed checksum valuepublic SvnChecksum.Kind getKind()
public String getDigest()
public void setKind(SvnChecksum.Kind kind)
kind - checksum kindpublic void setDigest(String digest)
digest - computed checksum valuepublic String toString()
String representation of checksum.public static SvnChecksum fromString(String checksum) throws SVNException
String.checksum - checksum represented in StringSVNExceptionpublic static boolean match(SvnChecksum checksum1, SvnChecksum checksum2)
Copyright © 2025. All rights reserved.