javax.media
Class SystemTimeBase

java.lang.Object
  |
  +--javax.media.SystemTimeBase

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

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

See Also:
TimeBase

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
 

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
Tags copied from 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
Tags copied from interface: TimeBase
Returns:
the current TimeBase time in nanoseocnds.


Submit a bug or feature
Copyright 1994-2004 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved. See the Specification License for more details.
Sun, Sun Microsystems, and Java are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.