|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.file.transformation.VideoDimensionTransformation
public class VideoDimensionTransformation
Performs the the video scale transformation.
Scale transformations are based on two parameters:
Constructor Summary | |
---|---|
VideoDimensionTransformation(java.io.InputStream content,
int width,
int height,
java.lang.String format)
The constructor of class. |
Method Summary | |
---|---|
void |
transform(java.io.OutputStream outputStream)
Performs the file transformation using the outputStream parameter as target
of the file transformations. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VideoDimensionTransformation(java.io.InputStream content, int width, int height, java.lang.String format)
content
- the source of transformation.width
- the new width.height
- the new height.Method Detail |
---|
public void transform(java.io.OutputStream outputStream) throws PortalException
ITransformation
outputStream
parameter as target
of the file transformations.
transform
in interface ITransformation
outputStream
- the writer to be transformed.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |