railo.runtime.tag
Class Video

java.lang.Object
  extended by railo.runtime.ext.tag.TagSupport
      extended by railo.runtime.tag.Video
All Implemented Interfaces:
javax.servlet.jsp.tagext.Tag

public class Video
extends TagSupport

implementation of the tag Compiler


Field Summary
static int EXECUTION_PERFORMANCE
           
static int EXECUTION_QUALITY
           
static int NAMECONFLICT_ERROR
           
static int NAMECONFLICT_MAKEUNIQUE
           
static int NAMECONFLICT_OVERWRITE
           
static int NAMECONFLICT_SKIP
           
static int NAMECONFLICT_UNDEFINED
           
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
Video()
           
 
Method Summary
static void checkRestriction()
           
static void copy(InputStream in, OutputStream out)
           
 Struct doActionInfo()
           
 int doStartTag()
           
static ProfileCollection getProfileCollection(PageContext pc)
           
 void release()
           
 void setAction(String action)
           
 void setAspectratio(String strAspectRatio)
           
 void setAudiobitrate(String audioBitrate)
           
 void setAudiocodec(String audioCodec)
           
 void setAudiosamplerate(String sAudiosamplerate)
           
 void setAuthor(String author)
           
 void setBuffersize(double buffersize)
           
 void setComment(String comment)
           
 void setCopyright(String copyright)
           
 void setData(Struct data)
           
 void setDebug(String debug)
           
 void setDestination(String destination)
           
 void setExecution(String execution)
           
 void setFps(double framerate)
           
 void setFramerate(double framerate)
           
 void setHeight(String strHeight)
           
 void setMax(String strMax)
           
 void setNameconflict(String nameconflict)
          set the value nameconflict Action to take if filename is the same as that of a file in the directory.
 void setProfile(String strProfile)
           
 void setQuality(String strQuality)
           
 void setResult(String result)
           
 void setSource(String source)
           
 void setSource1(String source1)
           
 void setSource2(String source2)
           
 void setStart(String strStart)
           
 void setTitle(String title)
           
 void setVideobitrate(String videoBitrate)
           
 void setVideobitratemax(String videoBitrateMax)
           
 void setVideobitratemin(String videoBitrateMin)
           
 void setVideobitratetolerance(String videoBitrateTolerance)
           
 void setVideocodec(String videoCodec)
           
 void setWidth(String strWidth)
           
 Struct toStruct(VideoInfo[] infos)
           
 
Methods inherited from class railo.runtime.ext.tag.TagSupport
doEndTag, getParent, required, setPageContext, setPageContext, setParent
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAMECONFLICT_UNDEFINED

public static final int NAMECONFLICT_UNDEFINED
See Also:
Constant Field Values

NAMECONFLICT_ERROR

public static final int NAMECONFLICT_ERROR
See Also:
Constant Field Values

NAMECONFLICT_SKIP

public static final int NAMECONFLICT_SKIP
See Also:
Constant Field Values

NAMECONFLICT_OVERWRITE

public static final int NAMECONFLICT_OVERWRITE
See Also:
Constant Field Values

NAMECONFLICT_MAKEUNIQUE

public static final int NAMECONFLICT_MAKEUNIQUE
See Also:
Constant Field Values

EXECUTION_QUALITY

public static final int EXECUTION_QUALITY
See Also:
Constant Field Values

EXECUTION_PERFORMANCE

public static final int EXECUTION_PERFORMANCE
See Also:
Constant Field Values
Constructor Detail

Video

public Video()
Method Detail

release

public void release()
Specified by:
release in interface javax.servlet.jsp.tagext.Tag
Overrides:
release in class TagSupport
See Also:
Tag.release()

setAction

public void setAction(String action)
               throws PageException
Parameters:
action - the action to set
Throws:
PageException

setSource

public void setSource(String source)
               throws PageException
Parameters:
source - the source to set
Throws:
PageException

setData

public void setData(Struct data)

setDestination

public void setDestination(String destination)
Parameters:
destination - the destination to set
Throws:
PageException

setNameconflict

public void setNameconflict(String nameconflict)
                     throws PageException
set the value nameconflict Action to take if filename is the same as that of a file in the directory.

Parameters:
nameconflict - value to set
Throws:
ApplicationException
PageException

setProfile

public void setProfile(String strProfile)
                throws PageException
Throws:
PageException

setExecution

public void setExecution(String execution)
                  throws PageException
Throws:
PageException

setQuality

public void setQuality(String strQuality)
                throws PageException
Throws:
PageException

doStartTag

public int doStartTag()
               throws PageException
Specified by:
doStartTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doStartTag in class TagSupport
Throws:
PageException
See Also:
Tag.doStartTag()

doActionInfo

public Struct doActionInfo()
                    throws PageException,
                           IOException
Throws:
PageException
IOException

copy

public static final void copy(InputStream in,
                              OutputStream out)
                       throws IOException
Throws:
IOException

getProfileCollection

public static ProfileCollection getProfileCollection(PageContext pc)
                                              throws PageException
Throws:
PageException

setWidth

public void setWidth(String strWidth)
Parameters:
width - the width to set

setHeight

public void setHeight(String strHeight)
Parameters:
height - the height to set

setAudiobitrate

public void setAudiobitrate(String audioBitrate)
                     throws PageException
Parameters:
audioBitrate - the audioBitrate to set
Throws:
PageException

setAspectratio

public void setAspectratio(String strAspectRatio)
                    throws PageException
Parameters:
aspectRatio - the aspectRatio to set
Throws:
PageException

setFramerate

public void setFramerate(double framerate)
Parameters:
framerate - the framerate to set

setFps

public void setFps(double framerate)

setVideobitrate

public void setVideobitrate(String videoBitrate)
                     throws PageException
Parameters:
videoBitrate - the videoBitrate to set
Throws:
PageException

setVideobitratemin

public void setVideobitratemin(String videoBitrateMin)
                        throws PageException
Parameters:
videoBitrateMin - the videoBitrateMin to set
Throws:
PageException

setVideobitratemax

public void setVideobitratemax(String videoBitrateMax)
                        throws PageException
Parameters:
videoBitrateMax - the videoBitrateMax to set
Throws:
PageException

setVideobitratetolerance

public void setVideobitratetolerance(String videoBitrateTolerance)
                              throws PageException
Parameters:
videoBitrateTolerance - the videoBitrateTolerance to set
Throws:
PageException

setAuthor

public void setAuthor(String author)
Parameters:
author - the author to set

setTitle

public void setTitle(String title)
Parameters:
title - the title to set

setComment

public void setComment(String comment)
Parameters:
comment - the comment to set

setCopyright

public void setCopyright(String copyright)
Parameters:
copyright - the copyright to set

setMax

public void setMax(String strMax)
            throws PageException
Parameters:
max - the maxFrames to set
Throws:
PageException

setResult

public void setResult(String result)
Parameters:
result - the result to set

setSource1

public void setSource1(String source1)
                throws PageException
Parameters:
source1 - the source1 to set
Throws:
PageException

setSource2

public void setSource2(String source2)
                throws PageException
Parameters:
source2 - the source2 to set
Throws:
PageException

setStart

public void setStart(String strStart)
              throws PageException
Parameters:
strStart - the position to set
Throws:
PageException

setVideocodec

public void setVideocodec(String videoCodec)
Parameters:
videoCodec - the videoCodec to set

setAudiocodec

public void setAudiocodec(String audioCodec)

setAudiosamplerate

public void setAudiosamplerate(String sAudiosamplerate)
                        throws PageException
Parameters:
audiosamplerate - the audiosamplerate to set
Throws:
PageException

checkRestriction

public static void checkRestriction()

setDebug

public void setDebug(String debug)
Parameters:
debug - the debug to set

setBuffersize

public void setBuffersize(double buffersize)
Parameters:
buffersize - the buffersize to set

toStruct

public Struct toStruct(VideoInfo[] infos)


Copyright © 2012 Railo