java.lang.Object
org.esau.ptarmigan.impl.MediaProperties
- public class MediaProperties
- extends java.lang.Object
MediaProperties
- Version:
- $Revision: 1.2 $ $Date: 2002/09/19 17:52:49 $
m_range
org.esau.ptarmigan.util.Range m_range
m_mime_type
java.lang.String m_mime_type
m_duration
long m_duration
m_digest
java.lang.String m_digest
m_digest_algorithm
java.lang.String m_digest_algorithm
MediaProperties
public MediaProperties()
resetData
public void resetData()
getRange
public org.esau.ptarmigan.util.Range getRange()
setRange
public void setRange(org.esau.ptarmigan.util.Range range)
getMimeType
public java.lang.String getMimeType()
setMimeType
public void setMimeType(java.lang.String mime_type)
getDuration
public long getDuration()
- obtain the duration, in millisecs
setDuration
public void setDuration(long duration)
- assign the duration, in millisecs
getDigest
public java.lang.String getDigest()
setDigest
public void setDigest(java.lang.String digest)
getDigestAlgorithm
public java.lang.String getDigestAlgorithm()
setDigestAlgorithm
public void setDigestAlgorithm(java.lang.String digest_algorithm)
toString
public java.lang.String toString()
- Description copied from class:
java.lang.Object
- Convert this Object to a human-readable String.
There are no limits placed on how long this String
should be or what it should contain. We suggest you
make it as intuitive as possible to be able to place
it into System.out.println() 55
and such.
It is typical, but not required, to ensure that this method
never completes abruptly with a java.lang.RuntimeException.
This method will be called when performing string
concatenation with this object. If the result is
null, string concatenation will instead
use "null".
The default implementation returns
getClass().getName() + "@" +
Integer.toHexString(hashCode()).