railo.runtime.video
Class VideoOutputImpl

java.lang.Object
  extended by railo.runtime.video.VideoOutputImpl
All Implemented Interfaces:
VideoOutput

public class VideoOutputImpl
extends Object
implements VideoOutput


Constructor Summary
VideoOutputImpl(Resource resource)
           
 
Method Summary
 String getAuthor()
           
 String getComment()
           
 String getCopyright()
           
 int getFileLimitation()
           
 String getFormat()
           
 int getFrameRate()
           
 long getMaxFrames()
           
 double getOffset()
           
 Resource getResource()
           
 String getTitle()
           
 void limitFileSizeTo(int size)
          limit size of the output file
 void setAuthor(String author)
          sets a author to the output video
 void setComment(String comment)
          sets a comment to the output video
 void setCopyright(String copyright)
          sets a copyright to the output video
 void setFileLimitation(int fileLimitation)
           
 void setFormat(String format)
           
 void setFrameRate(int frameRate)
           
 void setMaxFrames(long maxFrames)
           
 void setOffset(double offset)
          set time offset of the output file based on input file in seconds
 void setResource(Resource resource)
           
 void setTitle(String title)
          sets a title to the output video
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VideoOutputImpl

public VideoOutputImpl(Resource resource)
Method Detail

setOffset

public void setOffset(double offset)
set time offset of the output file based on input file in seconds

Specified by:
setOffset in interface VideoOutput
Parameters:
offset -

setComment

public void setComment(String comment)
sets a comment to the output video

Specified by:
setComment in interface VideoOutput
Parameters:
comment -

setTitle

public void setTitle(String title)
sets a title to the output video

Specified by:
setTitle in interface VideoOutput
Parameters:
title -

setAuthor

public void setAuthor(String author)
sets a author to the output video

Specified by:
setAuthor in interface VideoOutput
Parameters:
author -

setCopyright

public void setCopyright(String copyright)
sets a copyright to the output video

Specified by:
setCopyright in interface VideoOutput
Parameters:
copyright -

getResource

public Resource getResource()
Specified by:
getResource in interface VideoOutput
Returns:
the res

getOffset

public double getOffset()
Specified by:
getOffset in interface VideoOutput
Returns:
the offset

getComment

public String getComment()
Specified by:
getComment in interface VideoOutput
Returns:
the comment

getTitle

public String getTitle()
Specified by:
getTitle in interface VideoOutput
Returns:
the title

getAuthor

public String getAuthor()
Specified by:
getAuthor in interface VideoOutput
Returns:
the author

getCopyright

public String getCopyright()
Specified by:
getCopyright in interface VideoOutput
Returns:
the copyright

getFileLimitation

public int getFileLimitation()
Specified by:
getFileLimitation in interface VideoOutput
Returns:
the fileLimitation

limitFileSizeTo

public void limitFileSizeTo(int size)
limit size of the output file

Specified by:
limitFileSizeTo in interface VideoOutput
Parameters:
size - the size to set

getMaxFrames

public long getMaxFrames()
Specified by:
getMaxFrames in interface VideoOutput
Returns:
the maxFrames

setMaxFrames

public void setMaxFrames(long maxFrames)
Specified by:
setMaxFrames in interface VideoOutput
Parameters:
maxFrames - the maxFrames to set

setResource

public void setResource(Resource resource)
Specified by:
setResource in interface VideoOutput
Parameters:
resource - the resource to set

getFormat

public String getFormat()
Specified by:
getFormat in interface VideoOutput
Returns:
the format

setFormat

public void setFormat(String format)
Specified by:
setFormat in interface VideoOutput
Parameters:
format - the format to set

setFileLimitation

public void setFileLimitation(int fileLimitation)
Specified by:
setFileLimitation in interface VideoOutput
Parameters:
fileLimitation - the fileLimitation to set

getFrameRate

public int getFrameRate()
Specified by:
getFrameRate in interface VideoOutput
See Also:
VideoOutput.getFrameRate()

setFrameRate

public void setFrameRate(int frameRate)
Specified by:
setFrameRate in interface VideoOutput
See Also:
VideoOutput.setFrameRate(int)


Copyright © 2012 Railo