Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.esau.ptarmigan.impl
Class MediaProperties  view MediaProperties download MediaProperties.java

java.lang.Object
  extended byorg.esau.ptarmigan.impl.MediaProperties

public class MediaProperties
extends java.lang.Object

MediaProperties

Version:
$Revision: 1.2 $ $Date: 2002/09/19 17:52:49 $

Field Summary
(package private)  java.lang.String m_digest
           
(package private)  java.lang.String m_digest_algorithm
           
(package private)  long m_duration
           
(package private)  java.lang.String m_mime_type
           
(package private)  org.esau.ptarmigan.util.Range m_range
           
 
Constructor Summary
MediaProperties()
           
 
Method Summary
 java.lang.String getDigest()
           
 java.lang.String getDigestAlgorithm()
           
 long getDuration()
          obtain the duration, in millisecs
 java.lang.String getMimeType()
           
 org.esau.ptarmigan.util.Range getRange()
           
 void resetData()
           
 void setDigest(java.lang.String digest)
           
 void setDigestAlgorithm(java.lang.String digest_algorithm)
           
 void setDuration(long duration)
          assign the duration, in millisecs
 void setMimeType(java.lang.String mime_type)
           
 void setRange(org.esau.ptarmigan.util.Range range)
           
 java.lang.String toString()
          Convert this Object to a human-readable String.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

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
Constructor Detail

MediaProperties

public MediaProperties()
Method Detail

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()).