IBM Toolkit
for MPEG-4

player
Class PlayerFactory

java.lang.Object
  extended byplayer.PlayerFactory

public class PlayerFactory
extends java.lang.Object

MPEG-4 Player Factory. This factory class returns an instance of the main player that can be controlled via the returned PlayerControl Interface


Method Summary
static PlayerControl createLightweightMPEG4Player()
          Creates a new MPEG-4 Player instance to play MPEG-4 content.
static PlayerControl createMPEG4Player()
          Creates a new MPEG-4 Player instance to play MPEG-4 content.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createMPEG4Player

public static PlayerControl createMPEG4Player()
Creates a new MPEG-4 Player instance to play MPEG-4 content. The player when created using this method will be using heavyweight AWT components for rendering ie PlayerControl.getRendererComponent() will return an AWT heavyweight instance for the Component.

Returns:
PlayerControl interface to control the player

createLightweightMPEG4Player

public static PlayerControl createLightweightMPEG4Player()
Creates a new MPEG-4 Player instance to play MPEG-4 content. The player when created using this method will be using lightweight Swing components for rendering ie PlayerControl.getRendererComponent() will return a Swing lightweight instance for the Component - a JComponent based instance.

Returns:
PlayerControl interface to control the player or null if no lightweight player is available (i.e no Swing support).

IBM Toolkit
for MPEG-4

© Copyright IBM Corp. 1998, 2006. All Rights Reserved.