javax.media
Class SystemTimeBase

java.lang.Object
  |
  +--javax.media.SystemTimeBase
All Implemented Interfaces:
TimeBase

public final class SystemTimeBase
extends java.lang.Object
implements TimeBase

SystemTimeBase is the implementation of the default TimeBase that ships with JMF.

Version:
1.5, 02/08/21.
See Also:
TimeBase

Field Summary
(package private) static long offset
           
 
Constructor Summary
SystemTimeBase()
           
 
Method Summary
 long getNanoseconds()
          Get the current time of the TimeBase specified in nanoseconds.
 Time getTime()
          Get the current time of this TimeBase.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

offset

static long offset
Constructor Detail

SystemTimeBase

public SystemTimeBase()
Method Detail

getTime

public Time getTime()
Description copied from interface: TimeBase
Get the current time of this TimeBase.

Specified by:
getTime in interface TimeBase
Returns:
the current TimeBase time.

getNanoseconds

public long getNanoseconds()
Description copied from interface: TimeBase
Get the current time of the TimeBase specified in nanoseconds.

Specified by:
getNanoseconds in interface TimeBase
Returns:
the current TimeBase time in nanoseocnds.