Package com.volantis.map.sti.model

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


     *
     * @throws ConverterException in case conversion fails.
     */
    private TranscodingJobSource getTranscodingJobSource()
            throws ConverterException {
        TranscodingJobSource transcodingJobSource = new TranscodingJobSource();

        // Retrieve location of the resource to transcode.
        String location = getParameterValue(ParameterNames.SOURCE_URL);

        if (location == null) {
            throw new ConverterException("missing-source-url", new Object[] {},
                    null);
        }

        transcodingJobSource.setLocation(location);

        // Retrieve MIME type of the resource to transcode.
        transcodingJobSource.setContentType(contentType);

        return transcodingJobSource;
    }
View Full Code Here

TOP

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

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.