Ontimize 5.2072EN

com.ontimize.media
Class PlayerUtils

java.lang.Object
  extended bycom.ontimize.media.PlayerUtils

public class PlayerUtils
extends java.lang.Object


Nested Class Summary
protected static class PlayerUtils.ControllerSynchronizer
           
 
Constructor Summary
PlayerUtils()
           
 
Method Summary
static void configure(javax.media.Processor p)
           
protected static javax.swing.JFrame createFrame(java.lang.String title, javax.media.Player p)
           
static javax.media.Player createPlayer(javax.media.CaptureDeviceInfo inf)
           
static javax.media.Processor createProcessor(javax.media.CaptureDeviceInfo inf)
           
static javax.media.Player createRealizedPlayer(javax.media.CaptureDeviceInfo inf)
           
static javax.media.Player createRealizedPlayer(javax.media.CaptureDeviceInfo[] inf)
           
static javax.swing.JFrame createRealizedPlayerFrame(javax.media.CaptureDeviceInfo inf)
           
static javax.swing.JFrame createRealizedPlayerFrame(javax.media.CaptureDeviceInfo[] inf)
           
static void realize(javax.media.Player p)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlayerUtils

public PlayerUtils()
Method Detail

createPlayer

public static javax.media.Player createPlayer(javax.media.CaptureDeviceInfo inf)
                                       throws java.io.IOException,
                                              javax.media.NoPlayerException
Throws:
java.io.IOException
javax.media.NoPlayerException

createRealizedPlayer

public static javax.media.Player createRealizedPlayer(javax.media.CaptureDeviceInfo inf)
                                               throws java.io.IOException,
                                                      javax.media.NoPlayerException,
                                                      javax.media.CannotRealizeException
Throws:
java.io.IOException
javax.media.NoPlayerException
javax.media.CannotRealizeException

createRealizedPlayer

public static javax.media.Player createRealizedPlayer(javax.media.CaptureDeviceInfo[] inf)
                                               throws javax.media.NoDataSourceException,
                                                      javax.media.IncompatibleSourceException,
                                                      java.io.IOException,
                                                      javax.media.NoPlayerException,
                                                      javax.media.CannotRealizeException
Throws:
javax.media.NoDataSourceException
javax.media.IncompatibleSourceException
java.io.IOException
javax.media.NoPlayerException
javax.media.CannotRealizeException

createRealizedPlayerFrame

public static javax.swing.JFrame createRealizedPlayerFrame(javax.media.CaptureDeviceInfo inf)
                                                    throws java.io.IOException,
                                                           javax.media.NoPlayerException,
                                                           javax.media.CannotRealizeException
Throws:
java.io.IOException
javax.media.NoPlayerException
javax.media.CannotRealizeException

createRealizedPlayerFrame

public static javax.swing.JFrame createRealizedPlayerFrame(javax.media.CaptureDeviceInfo[] inf)
                                                    throws javax.media.NoDataSourceException,
                                                           javax.media.IncompatibleSourceException,
                                                           java.io.IOException,
                                                           javax.media.NoPlayerException,
                                                           javax.media.CannotRealizeException
Throws:
javax.media.NoDataSourceException
javax.media.IncompatibleSourceException
java.io.IOException
javax.media.NoPlayerException
javax.media.CannotRealizeException

createFrame

protected static javax.swing.JFrame createFrame(java.lang.String title,
                                                javax.media.Player p)

createProcessor

public static javax.media.Processor createProcessor(javax.media.CaptureDeviceInfo inf)
                                             throws java.io.IOException,
                                                    javax.media.NoPlayerException,
                                                    javax.media.CannotRealizeException
Throws:
java.io.IOException
javax.media.NoPlayerException
javax.media.CannotRealizeException

realize

public static void realize(javax.media.Player p)

configure

public static void configure(javax.media.Processor p)

Ontimize