railo.runtime.video
Class VideoUtilImpl

java.lang.Object
  extended by railo.runtime.video.VideoUtilImpl
All Implemented Interfaces:
VideoUtil

public class VideoUtilImpl
extends Object
implements VideoUtil


Method Summary
 int[] calculateDimension(PageContext pc, VideoInput[] sources, int width, String strWidth, int height, String strHeight)
           
static VideoExecuter createVideoExecuter(Config config)
           
 VideoInput createVideoInput(Resource input)
           
 VideoOutput createVideoOutput(Resource output)
           
 VideoProfile createVideoProfile()
           
static VideoUtilImpl getInstance()
           
 long toBytes(String byt)
           
 long toHerz(String byt)
           
 long toMillis(String time)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static VideoUtilImpl getInstance()

createVideoInput

public VideoInput createVideoInput(Resource input)
Specified by:
createVideoInput in interface VideoUtil
See Also:
VideoUtil.createVideoInput(railo.commons.io.res.Resource)

createVideoOutput

public VideoOutput createVideoOutput(Resource output)
Specified by:
createVideoOutput in interface VideoUtil
See Also:
VideoUtil.createVideoOutput(railo.commons.io.res.Resource)

createVideoProfile

public VideoProfile createVideoProfile()
Specified by:
createVideoProfile in interface VideoUtil
See Also:
VideoUtil.createVideoProfile()

toBytes

public long toBytes(String byt)
             throws PageException
Specified by:
toBytes in interface VideoUtil
Throws:
PageException

toHerz

public long toHerz(String byt)
            throws PageException
Specified by:
toHerz in interface VideoUtil
Throws:
PageException

toMillis

public long toMillis(String time)
              throws PageException
Specified by:
toMillis in interface VideoUtil
Throws:
PageException

createVideoExecuter

public static VideoExecuter createVideoExecuter(Config config)
                                         throws ClassException
Throws:
ClassException

calculateDimension

public int[] calculateDimension(PageContext pc,
                                VideoInput[] sources,
                                int width,
                                String strWidth,
                                int height,
                                String strHeight)
                         throws PageException
Specified by:
calculateDimension in interface VideoUtil
Throws:
PageException


Copyright © 2012 Railo