Package com.volantis.map.sti.model

Examples of com.volantis.map.sti.model.TranscodingParams


     * @param prefix prefix of parameter where parameter can be found.
     * @return transcoding params model object.
     * @throws ConverterException
     */
    private TranscodingParams getTranscodingParams() throws ConverterException {
        TranscodingParams transcodingParameters = new TranscodingParams();

        if (contentType.startsWith("audio")) {
            transcodingParameters.setAudio(getAudio());

        } else if (contentType.startsWith("image")) {
            transcodingParameters.setImage(getImage());

        } else if (contentType.startsWith("video")) {
            transcodingParameters.setVideo(getVideo());

        } else if (contentType.startsWith("text")) {
            transcodingParameters.setText(getText());
        }

        return transcodingParameters;
    }
View Full Code Here

TOP

Related Classes of com.volantis.map.sti.model.TranscodingParams

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.