net.sf.fmj.ejmf.toolkit.util
Interface TimeSource

All Known Implementing Classes:
ContainerPlayer, StandardProgressControl, TimeDisplayControl

public interface TimeSource

Implemented by classes that will provide a time value. From the book: Essential JMF, Gordon, Talley (ISBN 0130801046). Used with permission. see ejmf.toolkit.SourcedTime

Version:
1.0
Author:
Rob Gordon & Steve Talley

Field Summary
static long MICROS_PER_SEC
           
static long MILLIS_PER_SEC
           
static long NANOS_PER_SEC
          Useful values for return by an implementation of getConversionDivisor.
 
Method Summary
 long getConversionDivisor()
          Return a number used to divide source units to convert to seconds.
 long getTime()
          Return time in source units
 

Field Detail

NANOS_PER_SEC

static final long NANOS_PER_SEC
Useful values for return by an implementation of getConversionDivisor.

See Also:
Constant Field Values

MICROS_PER_SEC

static final long MICROS_PER_SEC
See Also:
Constant Field Values

MILLIS_PER_SEC

static final long MILLIS_PER_SEC
See Also:
Constant Field Values
Method Detail

getTime

long getTime()
Return time in source units


getConversionDivisor

long getConversionDivisor()
Return a number used to divide source units to convert to seconds.