Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

Copyright © 2006 Sun Microsystems, Inc. All rights reserved.

JSR-927 (Maintenance Release)

Package javax.media

Interface Summary
CachingControl CachingControl is an interface supported by Players that are capable of reporting download progress.
Clock The Clock interface is implemented by objects that support the Java Media time model.
Control The base interface for processing Control objects.
Controller Controller, which extends Clock, provides resource-allocation state information, event generation, and a mechanism for obtaining objects that provide additional control over a Controller.
ControllerListener ControllerListener is an interface for handling asynchronous events generated by Controllers.
Duration The Duration interface provides a way to determine the duration of the media being played by a media object.
GainChangeListener GainChangeListener is an interface for handling GainChangeEvents generated by GainControls.
GainControl GainControl is an interface for manipulating audio signal gain.
MediaEvent MediaEvent is the base interface for events supported by the media framework.
MediaHandler MediaHandler is the base interface for objects that read and manage media content delivered from a DataSource.
MediaProxy MediaProxy is a MediaHandler which processes content from one DataSource, to produce another DataSource.
Player Player is a MediaHandler for rendering and controlling time based media data.
TimeBase A TimeBase is a constantly ticking source of time, much like a crystal.
 

Class Summary
CachingControlEvent This event is generated by a Controller that supports the CachingControl interface.
ConnectionErrorEvent A ConnectionErrorEvent is posted when an error occurs within a DataSource when obtaining data or communicating with a server.
ControllerClosedEvent A ControllerClosedEvent describes an event that is generated when an a Controller is closed.
ControllerErrorEvent A ControllerErrorEvent describes an event that is generated when an error condition occurs that will cause a Controller to cease functioning.
ControllerEvent ControllerEvent is the base class for events generated by a Controller.
DataStarvedEvent DataStarvedEvent indicates that a Controller has lost data or has stopped receiving data altogether.
DeallocateEvent A DeallocateEvent is posted as an acknowledgement of the invocation of the deallocate method.
DurationUpdateEvent DurationUpdateEvent is posted by a Controller when its duration changes.
EndOfMediaEvent An EndOfMediaEvent indicates that the Controller has reached the end of its media and is stopping.
GainChangeEvent A GainChangeEvent is posted by a GainControl when its state has been updated.
InternalErrorEvent An InternalErrorEvent indicates that a Controller failed for implementation-specific reasons.
Manager Manager is the access point for obtaining system dependent resources such as Players, DataSources, and the system TimeBase.
MediaLocator MediaLocator describes the location of media content.
MediaTimeSetEvent A MediaTimeSetEvent is posted by a Controller when its media-time has been set with the setMediaTime method.
PackageManager A PackageManager maintains a persistent store of package-prefix lists.
PrefetchCompleteEvent A PrefetchCompleteEvent is posted when a Controller finishes Prefetching.
RateChangeEvent A RateChangeEvent is a ControllerEvent that is posted when a Controller's rate changes.
RealizeCompleteEvent A RealizeCompleteEvent is posted when a Controller finishes Realizing.
ResourceUnavailableEvent A ResourceUnavailableEvent indicates that a Controller was unable to allocate a resource that it requires for operation.
RestartingEvent A RestartingEvent indicates that a Controller has moved from the Started state back to the Prefetching state (a Stopped state) and intends to return to the Started state when Prefetching is complete.
StartEvent StartEvent is a TransitionEvent that indicates that a Controller has entered the Started state.
StopAtTimeEvent A StopAtTimeEvent indicates that the Controller has stopped because it reached its stop time.
StopByRequestEvent A StopByRequestEvent indicates that the Controller has stopped in response to a stop call.
StopEvent StopEvent is a ControllerEvent that indicates that a Controller has stopped.
StopTimeChangeEvent A StopTimeChangeEvent is generated by a Controller when its stop time has changed.
Time Time abstracts time in the Java Media framework.
TransitionEvent TransitionEvent is a ControllerEvent that indicates that a Controller has changed state.
 

Exception Summary
ClockStoppedException A ClockStoppedException is thrown when a method that expects the Clock to be Started is called on a Stopped Clock.
IncompatibleSourceException An IncompatibleSourceException is thrown by a MediaHandler when setSource is invoked and the MediaHandler cannot support the DataSource.
IncompatibleTimeBaseException An IncompatibleTimeBaseException is generated when Clock.setTimeBase is invoked using a TimeBase that the Clock cannot support.
MediaException A MediaException indicates an unexpected error condition in a JavaMedia method.
NoDataSourceException A NoDataSourceException is thrown when a DataSource can't be found for a particular URL or MediaLocator.
NoPlayerException A NoPlayerException is thrown when a PlayerFactory can't find a Player for a particular URL or MediaLocator.
 

Error Summary
ClockStartedError ClockStartedError is thrown by a Started Clock when a method is invoked that is not legal on a Clock in the Started state.
MediaError A MediaError indicates an error condition that occurred through incorrect usage of the API.
NotPrefetchedError NotPrefetchedError is thrown when a method that requires a Controller to be in the Prefetched state is called and the Controller has not been Prefetched.
NotRealizedError NotRealizedError is thrown when a method that requires a Controller to be in the Realized state is called and the Controller is not Realized.
StopTimeSetError StopTimeSetError is thrown when the stop time has been set on a Started Clock and setStopTime is invoked again.
 


JSR-927 (Maintenance Release)

Copyright © 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to License Terms. Your use of this web site or any of its content or software indicates your agreement to be bound by these License Terms.

For more information, please consult the JSR 927 specification.