|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.tmatesoft.svn.core.wc2.SvnChecksum
public class SvnChecksum
Represents a checksum for SVN files.
Nested Class Summary | |
---|---|
static class |
SvnChecksum.Kind
Describes the kind of used hash algorithm for computing the checksum. |
Constructor Summary | |
---|---|
SvnChecksum(SvnChecksum.Kind kind,
java.lang.String digest)
Constructs an SvnChecksum object with the specified parameters. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
static SvnChecksum |
fromString(java.lang.String checksum)
Creates checksum object from String . |
java.lang.String |
getDigest()
Gets computed checksum value. |
SvnChecksum.Kind |
getKind()
Gets king of checksum. |
int |
hashCode()
|
void |
setDigest(java.lang.String digest)
Sets computed checksum value. |
void |
setKind(SvnChecksum.Kind kind)
Sets kind of checksum. |
java.lang.String |
toString()
Returns String representation of checksum. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SvnChecksum(SvnChecksum.Kind kind, java.lang.String digest)
kind
- kind of checksumdigest
- computed checksum valueMethod Detail |
---|
public SvnChecksum.Kind getKind()
public java.lang.String getDigest()
public void setKind(SvnChecksum.Kind kind)
kind
- checksum kindpublic void setDigest(java.lang.String digest)
digest
- computed checksum valuepublic java.lang.String toString()
String
representation of checksum.
toString
in class java.lang.Object
String
representation of checksumpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public static SvnChecksum fromString(java.lang.String checksum) throws SVNException
String
.
checksum
- checksum represented in String
SVNException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |