Class Hash
- java.lang.Object
-
- com.rometools.modules.mediarss.types.AbstractSchemeValue
-
- com.rometools.modules.mediarss.types.Hash
-
- All Implemented Interfaces:
Serializable
public class Hash extends AbstractSchemeValue implements Serializable
<media:hash>This is the hash of the binary media file. It can appear multiple times as long as each instance is a different algo. It has 1 optional attribute.
<media:hash algo="md5">dfdec888b72151965a34b4b59031290a</media:hash>
algo indicates the algorithm used to create the hash. Possible values are 'md5' and 'sha-1'. Default value is 'md5'. It is an optional attribute.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)StringgetAlgorithm()Alsorithm used for the hashinthashCode()StringtoString()-
Methods inherited from class com.rometools.modules.mediarss.types.AbstractSchemeValue
getScheme, getValue
-
-
-
-
Method Detail
-
getAlgorithm
public String getAlgorithm()
Alsorithm used for the hash- Returns:
- Alsorithm used for the hash
-
-