|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.simongibbs.scoof.Specifier
info.simongibbs.scoof.Hit
Represents a block of comment code under examination, doesn't actually store the comment, only the digest (MD5) and the File associated with it.
| Constructor Summary | |
Hit()
Constructor for Hit. |
|
Hit(Passage p)
|
|
| Method Summary | |
void |
calcMd5(java.lang.String code)
|
boolean |
equals(java.lang.Object obj)
Equality is evaluated on the basis of all fields. |
byte[] |
getDigest()
Returns the digested bytes. |
void |
setDigest(byte[] b)
Overwrites the digest with new data |
java.lang.String |
toString()
Formats the digest and file path in a CSV compatible format. |
| Methods inherited from class info.simongibbs.scoof.Specifier |
compareTo, getGenerator, getLine, getOriginalLength, getSource, setGenerator, setLine, setOriginalLength, setSource |
| Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Hit()
public Hit(Passage p)
| Method Detail |
public byte[] getDigest()
public void setDigest(byte[] b)
b - externally calculated digest bytes
public void calcMd5(java.lang.String code)
throws java.lang.UnsupportedOperationException
java.lang.UnsupportedOperationExceptionpublic boolean equals(java.lang.Object obj)
Object.equals(java.lang.Object)public java.lang.String toString()
Object.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||