|
Lizzy v1.1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object christophedelory.rss.media.Hash
public class Hash
This is the hash of the binary media file. It can appear multiple times as long as each instance is a different algo. Example:
<media:hash algo="md5">dfdec888b72151965a34b4b59031290a</media:hash>
Constructor Summary | |
---|---|
Hash()
|
Method Summary | |
---|---|
String |
getAlgo()
Returns the algorithm used to create the hash. |
String |
getValue()
Returns the hash value. |
void |
setAlgo(String algo)
Initializes the algorithm used to create the hash. |
void |
setValue(String value)
Initializes the hash value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Hash()
Method Detail |
---|
public void setValue(String value)
value
- a hash value. Shall not be null
.
NullPointerException
- if value
is null
.getValue()
public String getValue()
null
if not yet initialized.setValue(java.lang.String)
public void setAlgo(String algo)
algo
- a hash algorithm. May be null
.getAlgo()
public String getAlgo()
null
.setAlgo(java.lang.String)
|
© 2008-2009 Christophe Delory | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |