All Packages Class Hierarchy
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
Index of all Fields and Methods
- addController(Controller).
Method in interface javax.media.Player
- Assume control of another
Controller
.
- addControllerListener(ControllerListener).
Method in interface javax.media.Controller
- Specify a
ControllerListener
to which
this Controller
will send events.
- addGainChangeListener(GainChangeListener).
Method in interface javax.media.GainControl
- Register for gain change update events.
- CachingControlEvent(Controller, CachingControl, long).
Constructor for class javax.media.CachingControlEvent
- Construct a
CachingControlEvent
from the required elements.
- ClockStartedError().
Constructor for class javax.media.ClockStartedError
- Construct a
ClockStartedError
with no message.
- ClockStartedError(String).
Constructor for class javax.media.ClockStartedError
- Construct a
ClockStartedError
that contains the specified reason message.
- ClockStoppedException().
Constructor for class javax.media.ClockStoppedException
-
- ClockStoppedException(String).
Constructor for class javax.media.ClockStoppedException
-
- close().
Method in interface javax.media.Controller
-
Release all resources and cease all activity.
- commitContentPrefixList().
Static method in class javax.media.PackageManager
- Make changes to the content prefix-list persistent.
- commitProtocolPrefixList().
Static method in class javax.media.PackageManager
- Make changes to the protocol package-prefix list persistent.
- conn.
Variable in class javax.media.protocol.URLDataSource
-
- connect().
Method in class javax.media.protocol.DataSource
- Open a connection to the source described by
the
MediaLocator
.
- connect().
Method in class javax.media.protocol.URLDataSource
- Initialize the connection with the source.
- connected.
Variable in class javax.media.protocol.URLDataSource
-
- ConnectionErrorEvent(Controller).
Constructor for class javax.media.ConnectionErrorEvent
-
- ConnectionErrorEvent(Controller, String).
Constructor for class javax.media.ConnectionErrorEvent
-
- CONTENT_UNKNOWN.
Static variable in class javax.media.protocol.ContentDescriptor
-
- ContentDescriptor(String).
Constructor for class javax.media.protocol.ContentDescriptor
-
Create a content descriptor with the specified name.
- contentType.
Variable in class javax.media.protocol.URLDataSource
-
- ControllerClosedEvent(Controller).
Constructor for class javax.media.ControllerClosedEvent
- Construct a
ControllerClosedEvent
.
- ControllerClosedEvent(Controller, String).
Constructor for class javax.media.ControllerClosedEvent
-
- ControllerErrorEvent(Controller).
Constructor for class javax.media.ControllerErrorEvent
-
- ControllerErrorEvent(Controller, String).
Constructor for class javax.media.ControllerErrorEvent
-
- ControllerEvent(Controller).
Constructor for class javax.media.ControllerEvent
-
- controllerUpdate(ControllerEvent).
Method in interface javax.media.ControllerListener
- This method is called when an event is generated by a
Controller
that this listener is registered with.
- createDataSource(MediaLocator).
Static method in class javax.media.Manager
- Create a
DataSource
for the specified media.
- createDataSource(URL).
Static method in class javax.media.Manager
- Create a
DataSource
for the specified media.
- createPlayer(DataSource).
Static method in class javax.media.Manager
- Create a
Player
for the DataSource
.
- createPlayer(MediaLocator).
Static method in class javax.media.Manager
- Create a
Player
for the specified media.
- createPlayer(URL).
Static method in class javax.media.Manager
- Create a
Player
for the specified media.
- DataSource().
Constructor for class javax.media.protocol.DataSource
- A no-argument constructor required by pre 1.1 implementations
so that this class can be instantiated by
calling
Class.newInstance
.
- DataSource(MediaLocator).
Constructor for class javax.media.protocol.DataSource
- Construct a
DataSource
from a MediaLocator
.
- DataStarvedEvent(Controller, int, int, int, Time).
Constructor for class javax.media.DataStarvedEvent
-
- deallocate().
Method in interface javax.media.Controller
- Abort the current operation and cease any activity that
consumes system resources.
- DeallocateEvent(Controller, int, int, int, Time).
Constructor for class javax.media.DeallocateEvent
-
- disconnect().
Method in class javax.media.protocol.DataSource
- Close the connection to the source described by the locator.
- disconnect().
Method in class javax.media.protocol.URLDataSource
- Disconnect the source.
- DURATION_UNBOUNDED.
Static variable in interface javax.media.Duration
- Returned by
getDuration
.
- DURATION_UNKNOWN.
Static variable in interface javax.media.Duration
- Returned by
getDuration
.
- DurationUpdateEvent(Controller, Time).
Constructor for class javax.media.DurationUpdateEvent
-
- EndOfMediaEvent(Controller, int, int, int, Time).
Constructor for class javax.media.EndOfMediaEvent
-
- endOfStream().
Method in interface javax.media.protocol.SourceStream
- Find out if the end of the stream has been reached.
- gainChange(GainChangeEvent).
Method in interface javax.media.GainChangeListener
- This method is called to deliver a
GainChangeEvent
when the state of a GainControl
changes.
- GainChangeEvent(GainControl, boolean, float, float).
Constructor for class javax.media.GainChangeEvent
-
- getCachingControl().
Method in class javax.media.CachingControlEvent
- Get the
CachingControl
object that generated
the event.
- getContentDescriptor().
Method in interface javax.media.protocol.SourceStream
- Get the current content type for this stream.
- getContentLength().
Method in interface javax.media.CachingControl
- Get the total number of bytes in the media being downloaded.
- getContentLength().
Method in interface javax.media.protocol.SourceStream
- Get the size, in bytes, of the content on this stream.
- getContentPrefixList().
Static method in class javax.media.PackageManager
- Get the current value of the content package-prefix list.
- getContentProgress().
Method in interface javax.media.CachingControl
- Get the total number of bytes of media data that have been downloaded so far.
- getContentProgress().
Method in class javax.media.CachingControlEvent
- Get the total number of bytes of media data that have been downloaded so far.
- getContentType().
Method in class javax.media.protocol.ContentDescriptor
- Obtain a string that represents the content-name
for this descriptor.
- getContentType().
Method in class javax.media.protocol.DataSource
- Get a string that describes the content-type of the media
that the source is providing.
- getContentType().
Method in class javax.media.protocol.URLDataSource
- Return the content type name.
- getControl(String).
Method in interface javax.media.Controller
- Get the
Control
that supports the
class or interface specified.
- getControl(String).
Method in interface javax.media.protocol.Controls
- Obtain the object that implements the specified
Class
or Interface
The full class or interface name must be used.
- getControl(String).
Method in class javax.media.protocol.URLDataSource
- Returns null, because this source doesn't provide
any controls.
- getControlComponent().
Method in interface javax.media.CachingControl
- Get a
Component
that provides additional download control.
- getControlComponent().
Method in interface javax.media.Control
- Get the
Component
associated with this
Control
object.
- getControlPanelComponent().
Method in interface javax.media.Player
- Obtain the
Component
that provides the default user
interface for controlling this Player
.
- getControls().
Method in interface javax.media.Controller
- Get a list of the
Control
objects that
this Controller
supports.
- getControls().
Method in interface javax.media.protocol.Controls
- Obtain the collection of objects that
control the object that implements this interface.
- getControls().
Method in class javax.media.protocol.URLDataSource
- Returns an empty array, because this source
doesn't provide any controls.
- getCurrentRate().
Method in class javax.media.protocol.RateRange
- Get the current rate.
- getCurrentState().
Method in class javax.media.TransitionEvent
- Get the
Controller's
state at the time this event was
generated
- getDataSource().
Method in interface javax.media.MediaProxy
- Obtain the new
DataSource
.
- getDataSourceList(String).
Static method in class javax.media.Manager
- Build a list of
DataSource
class names from the
protocol prefix-list and a protocol name.
- getDB().
Method in class javax.media.GainChangeEvent
- Get the
GainControl's
new gain value in dB.
- getDB().
Method in interface javax.media.GainControl
- Get the current gain set for this object in dB.
- getDuration().
Method in interface javax.media.Duration
- Get the duration of the media represented
by this object.
- getDuration().
Method in class javax.media.DurationUpdateEvent
- Get the duration of the media that this
Controller
is using.
- getDuration().
Method in class javax.media.protocol.URLDataSource
- Returns
Duration.DURATION_UNKNOWN
.
- getGainControl().
Method in interface javax.media.Player
- Obtain the object for controlling this
Player's
audio gain.
- getHandlerClassList(String).
Static method in class javax.media.Manager
- Build a list of
Handler/CODE> classes from the
content-prefix-list and a content name.
- getLevel().
Method in class javax.media.GainChangeEvent
- Get the
GainControl's
new gain value in the level scale.
- getLevel().
Method in interface javax.media.GainControl
- Get the current gain set for this
object as a value between 0.0 and 1.0
- getLocator().
Method in class javax.media.protocol.DataSource
- Get the
MediaLocator
that describes this source.
- getMaximumRate().
Method in class javax.media.protocol.RateRange
- Get the maximum rate supported by this range.
- getMediaNanoseconds().
Method in interface javax.media.Clock
- Get this
Clock's
current media time
in nanoseconds.
- getMediaTime().
Method in interface javax.media.Clock
- Get this
Clock's
current media time.
- getMediaTime().
Method in class javax.media.MediaTimeSetEvent
- Get the new media time of the
Controller
that
generated this event.
- getMediaTime().
Method in class javax.media.StartEvent
- Get the clock time (media time) when the
Controller
started.
- getMediaTime().
Method in class javax.media.StopEvent
- Get the clock time (media time) that was passed into the constructor.
- getMessage().
Method in class javax.media.ControllerClosedEvent
- Obtain the message describing why this event
occurred.
- getMinimumRate().
Method in class javax.media.protocol.RateRange
- Get the minimum rate supported by this range.
- getMinimumTransferSize().
Method in interface javax.media.protocol.PushSourceStream
- Determine the size of the buffer needed for the data transfer.
- getMute().
Method in class javax.media.GainChangeEvent
- Get the
GainControl's
new mute value.
- getMute().
Method in interface javax.media.GainControl
- Get the mute state of the signal associated with this
GainControl
.
- getNanoseconds().
Method in class javax.media.Time
- Get the time value in nanoseconds.
- getNanoseconds().
Method in interface javax.media.TimeBase
- Get the current time of the
TimeBase
specified in nanoseconds.
- getPreviousState().
Method in class javax.media.TransitionEvent
- Get the state that the
Controller
was in before this event occurred.
- getProgressBarComponent().
Method in interface javax.media.CachingControl
- Get a
Component
for displaying the download progress.
- getProtocol().
Method in class javax.media.MediaLocator
- Get the beginning of the locator string
up to but not including the first colon.
- getProtocolPrefixList().
Static method in class javax.media.PackageManager
- Get the current value of the protocol package-prefix list.
- getRate().
Method in interface javax.media.Clock
- Get the current temporal scale factor.
- getRate().
Method in class javax.media.RateChangeEvent
- Get the new rate of the
Controller
that
generated this event.
- getRate().
Method in interface javax.media.protocol.RateConfiguration
- Get the
RateRange
for this configuration.
- getRateConfigurations().
Method in interface javax.media.protocol.RateConfigureable
- Get the rate configurations that this object supports.
- getRemainder().
Method in class javax.media.MediaLocator
- Get the
MediaLocator
string with the protocol removed.
- getSeconds().
Method in class javax.media.Time
- Get the time value in seconds.
- getSource().
Method in class javax.media.ControllerEvent
-
- getSource().
Method in class javax.media.GainChangeEvent
- Get the object that posted this event.
- getSource().
Method in interface javax.media.MediaEvent
-
- getSourceController().
Method in class javax.media.ControllerEvent
- Get the
Controller
that posted this event.
- getSourceGainControl().
Method in class javax.media.GainChangeEvent
- Get the
GainControl
that posted this event.
- getStartLatency().
Method in interface javax.media.Controller
- Get the
Controller's
start latency in nanoseconds.
- getState().
Method in interface javax.media.Controller
- Get the current state of this
Controller
.
- getStopTime().
Method in interface javax.media.Clock
- Get the last value successfully set by
setStopTime
.
- getStopTime().
Method in class javax.media.StopTimeChangeEvent
- Get the new stop-time for the
Controller
that
generated this event.
- getStreams().
Method in class javax.media.protocol.PullDataSource
- Get the collection of streams that this source
manages.
- getStreams().
Method in class javax.media.protocol.PushDataSource
- Get the collection of streams that this source
manages.
- getStreams().
Method in interface javax.media.protocol.RateConfiguration
- Get the streams that will have content at this rate.
- getStreams().
Method in class javax.media.protocol.URLDataSource
- Get the collection of streams that this source
manages.
- getSyncTime().
Method in interface javax.media.Clock
- Get the current media time or the time until this
Clock
will synchronize to its TimeBase
.
- getSystemTimeBase().
Static method in class javax.media.Manager
- Get the time-base object for the system.
- getTargetState().
Method in interface javax.media.Controller
- Get the current target state of this
Controller
.
- getTargetState().
Method in class javax.media.TransitionEvent
- Get the
Controller's
target state at the time this event
was generated.
- getTime().
Method in interface javax.media.TimeBase
- Get the current time of this
TimeBase
.
- getTimeBase().
Method in interface javax.media.Clock
- Get the
TimeBase
that this Clock
is using.
- getTimeBaseTime().
Method in class javax.media.StartEvent
- Get the time-base time that started the
Controller
.
- getURL().
Method in class javax.media.MediaLocator
- Get the
URL
associated with this MediaLocator
.
- getVisualComponent().
Method in interface javax.media.Player
- Obtain the display
Component
for this Player
.
- IncompatibleSourceException().
Constructor for class javax.media.IncompatibleSourceException
-
- IncompatibleSourceException(String).
Constructor for class javax.media.IncompatibleSourceException
-
- IncompatibleTimeBaseException().
Constructor for class javax.media.IncompatibleTimeBaseException
-
- IncompatibleTimeBaseException(String).
Constructor for class javax.media.IncompatibleTimeBaseException
-
- initCheck().
Method in class javax.media.protocol.DataSource
- Check to see if this connection has been
initialized with a
MediaLocator
.
- InternalErrorEvent(Controller).
Constructor for class javax.media.InternalErrorEvent
-
- InternalErrorEvent(Controller, String).
Constructor for class javax.media.InternalErrorEvent
-
- isDownloading().
Method in interface javax.media.CachingControl
- Check whether or not media is being downloaded.
- isExact().
Method in class javax.media.protocol.RateRange
- Determine whether or not the source will maintain a constant
speed when using this rate.
- isRandomAccess().
Method in interface javax.media.protocol.Positionable
- Find out if this source can be repositioned to any point in the stream.
- isRandomAccess().
Method in interface javax.media.protocol.Seekable
- Find out if this source can position anywhere in the
stream.
- LATENCY_UNKNOWN.
Static variable in interface javax.media.Controller
- Returned by
getStartLatency
.
- LENGTH_UNKNOWN.
Static variable in interface javax.media.CachingControl
- Use to indicate that the
CachingControl
doesn't
know how long the content is.
The definition is: LENGTH_UNKNOWN == Long.MAX_VALUE
- LENGTH_UNKNOWN.
Static variable in interface javax.media.protocol.SourceStream
-
- mapToTimeBase(Time).
Method in interface javax.media.Clock
- Get the
TimeBase
time corresponding to the specified media time.
- MediaError().
Constructor for class javax.media.MediaError
-
- MediaError(String).
Constructor for class javax.media.MediaError
-
- MediaException().
Constructor for class javax.media.MediaException
-
- MediaException(String).
Constructor for class javax.media.MediaException
-
- MediaLocator(String).
Constructor for class javax.media.MediaLocator
-
- MediaLocator(URL).
Constructor for class javax.media.MediaLocator
-
- MediaTimeSetEvent(Controller, Time).
Constructor for class javax.media.MediaTimeSetEvent
-
- message.
Variable in class javax.media.ControllerClosedEvent
-
- mimeTypeToPackageName(String).
Static method in class javax.media.protocol.ContentDescriptor
- Map a MIME content-type to an equivalent string
of class-name components.
- nanoseconds.
Variable in class javax.media.Time
- Time is kept to a granularity of nanoseconds.
- NoDataSourceException().
Constructor for class javax.media.NoDataSourceException
-
- NoDataSourceException(String).
Constructor for class javax.media.NoDataSourceException
-
- NoPlayerException().
Constructor for class javax.media.NoPlayerException
-
- NoPlayerException(String).
Constructor for class javax.media.NoPlayerException
-
- NotPrefetchedError(String).
Constructor for class javax.media.NotPrefetchedError
-
- NotRealizedError(String).
Constructor for class javax.media.NotRealizedError
-
- ONE_SECOND.
Static variable in class javax.media.Time
-
- PackageManager().
Constructor for class javax.media.PackageManager
-
- prefetch().
Method in interface javax.media.Controller
- Process as much data as necessary
to reduce the
Controller's
start latency to the shortest possible time.
- PrefetchCompleteEvent(Controller, int, int, int).
Constructor for class javax.media.PrefetchCompleteEvent
-
- Prefetched.
Static variable in interface javax.media.Controller
- Returned by
getState
.
- Prefetching.
Static variable in interface javax.media.Controller
- Returned by
getState
.
- PullDataSource().
Constructor for class javax.media.protocol.PullDataSource
-
- PushDataSource().
Constructor for class javax.media.protocol.PushDataSource
-
- RateChangeEvent(Controller, float).
Constructor for class javax.media.RateChangeEvent
-
- RateRange(float, float, float, boolean).
Constructor for class javax.media.protocol.RateRange
- Constructor using required values.
- RateRange(RateRange).
Constructor for class javax.media.protocol.RateRange
- Copy constructor.
- read(byte[], int, int).
Method in interface javax.media.protocol.PullSourceStream
- Block and read data from the stream.
- read(byte[], int, int).
Method in interface javax.media.protocol.PushSourceStream
- Read from the stream without blocking.
- realize().
Method in interface javax.media.Controller
- Construct the media dependent portions of the
Controller
.
- RealizeCompleteEvent(Controller, int, int, int).
Constructor for class javax.media.RealizeCompleteEvent
-
- Realized.
Static variable in interface javax.media.Controller
- Returned by
getState
.
- Realizing.
Static variable in interface javax.media.Controller
- Returned by
getState
.
- removeController(Controller).
Method in interface javax.media.Player
- Stop controlling a
Controller
.
- removeControllerListener(ControllerListener).
Method in interface javax.media.Controller
- Remove the specified listener from this
Controller's
listener list.
- removeGainChangeListener(GainChangeListener).
Method in interface javax.media.GainControl
- Remove interest in gain change update events.
- RESET.
Static variable in interface javax.media.Clock
- Returned by
getStopTime
if the stop-time is unset.
- ResourceUnavailableEvent(Controller).
Constructor for class javax.media.ResourceUnavailableEvent
-
- ResourceUnavailableEvent(Controller, String).
Constructor for class javax.media.ResourceUnavailableEvent
-
- RestartingEvent(Controller, int, int, int, Time).
Constructor for class javax.media.RestartingEvent
-
- RoundDown.
Static variable in interface javax.media.protocol.Positionable
-
- RoundNearest.
Static variable in interface javax.media.protocol.Positionable
-
- RoundUp.
Static variable in interface javax.media.protocol.Positionable
-
- secondsToNanoseconds(double).
Method in class javax.media.Time
- Convert seconds to nanoseconds.
- seek(long).
Method in interface javax.media.protocol.Seekable
- Seek to the specified point in the stream.
- setContentPrefixList(Vector).
Static method in class javax.media.PackageManager
- Set the current value of the content package-prefix list.
- setCurrentRate(float).
Method in class javax.media.protocol.RateRange
- Set the current rate.
- setDB(float).
Method in interface javax.media.GainControl
- Set the gain in decibels.
- setLevel(float).
Method in interface javax.media.GainControl
- Set the gain using a floating point scale
with values between 0.0 and 1.0.
- setLocator(MediaLocator).
Method in class javax.media.protocol.DataSource
- Set the connection
source
for this DataSource
.
- setMediaTime(Time).
Method in interface javax.media.Clock
- Set the
Clock's
media time.
- setMute(boolean).
Method in interface javax.media.GainControl
- Mute or unmute the signal associated with this
GainControl
.
- setPosition(Time, int).
Method in interface javax.media.protocol.Positionable
- Set the position to the specified time.
- setProtocolPrefixList(Vector).
Static method in class javax.media.PackageManager
- Set the protocol package-prefix list.
- setRate(float).
Method in interface javax.media.Clock
- Set the temporal scale factor.
- setRateConfiguration(RateConfiguration).
Method in interface javax.media.protocol.RateConfigureable
- Set a new
RateConfiguration
.
- setSource(DataSource).
Method in interface javax.media.MediaHandler
- Set the media source the
MediaHandler
should use to obtain content.
- setStopTime(Time).
Method in interface javax.media.Clock
-
Set the media time at which you want the
Clock
to stop.
- setTimeBase(TimeBase).
Method in interface javax.media.Clock
- Set the
TimeBase
for this Clock
.
- setTransferHandler(SourceTransferHandler).
Method in interface javax.media.protocol.PushSourceStream
- Register an object to service data transfers to this stream.
- sources.
Variable in class javax.media.protocol.URLDataSource
-
- start().
Method in class javax.media.protocol.DataSource
- Initiate data-transfer.
- start().
Method in interface javax.media.Player
- Start the
Player
as soon as possible.
- start().
Method in class javax.media.protocol.URLDataSource
- Initiate data-transfer.
- Started.
Static variable in interface javax.media.Controller
- Returned by getState.
- StartEvent(Controller, int, int, int, Time, Time).
Constructor for class javax.media.StartEvent
- Construct a new
StartEvent
.
- stop().
Method in interface javax.media.Clock
- Stop the
Clock
.
- stop().
Method in class javax.media.protocol.DataSource
- Stop the data-transfer.
- stop().
Method in class javax.media.protocol.URLDataSource
- Stops the
- StopAtTimeEvent(Controller, int, int, int, Time).
Constructor for class javax.media.StopAtTimeEvent
-
- StopByRequestEvent(Controller, int, int, int, Time).
Constructor for class javax.media.StopByRequestEvent
-
- StopEvent(Controller, int, int, int, Time).
Constructor for class javax.media.StopEvent
-
- StopTimeChangeEvent(Controller, Time).
Constructor for class javax.media.StopTimeChangeEvent
-
- StopTimeSetError(String).
Constructor for class javax.media.StopTimeSetError
-
- syncStart(Time).
Method in interface javax.media.Clock
- Synchronize the current media time to the specified
time-base time and start the
Clock
.
- tell().
Method in interface javax.media.protocol.Seekable
- Obtain the current point in the stream.
- Time(double).
Constructor for class javax.media.Time
- Construct a time in seconds.
- Time(long).
Constructor for class javax.media.Time
- Construct a time in nanoseconds.
- toExternalForm().
Method in class javax.media.MediaLocator
- Create a string from the
URL
argument that can
be used to construct the MediaLocator
.
- toString().
Method in class javax.media.MediaLocator
- Used for printing
MediaLocators
.
- transferData(PushSourceStream).
Method in interface javax.media.protocol.SourceTransferHandler
- Transfer new data from a
PushSourceStream
.
- TransitionEvent(Controller, int, int, int).
Constructor for class javax.media.TransitionEvent
- Construct a new
TransitionEvent
.
- typeName.
Variable in class javax.media.protocol.ContentDescriptor
-
- UNKNOWN_CONTENT_NAME.
Static variable in class javax.media.Manager
-
- Unrealized.
Static variable in interface javax.media.Controller
- Returned by
getState
.
- URLDataSource().
Constructor for class javax.media.protocol.URLDataSource
- Implemented by subclasses.
- URLDataSource(URL).
Constructor for class javax.media.protocol.URLDataSource
- Construct a
URLDataSource
directly from a URL
.
- willReadBlock().
Method in interface javax.media.protocol.PullSourceStream
- Find out if data is available now.