All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kaltura.client.enums.KalturaContainerFormat Maven / Gradle / Ivy

Go to download

KalturaClient is a library of Java classes that can be used to interact with the Kaltura REST API. More information about the REST API can be found at http://corp.kaltura.com/Products/Kaltura-API Many of the Java classes in this library are auto-generated from a schema that defines the objects that are used to interect with the API. The current schema can be found at http://www.kaltura.com/api_v3/api_schema.php

The newest version!
// ===================================================================================================
//                           _  __     _ _
//                          | |/ /__ _| | |_ _  _ _ _ __ _
//                          | ' .
//
// @ignore
// ===================================================================================================
package com.kaltura.client.enums;

/**
 * This class was generated using generate.php
 * against an XML schema provided by Kaltura.
 * 
 * MANUAL CHANGES TO THIS CLASS WILL BE OVERWRITTEN.
 */
public enum KalturaContainerFormat implements KalturaEnumAsString {
    _3GP ("3gp"),
    APPLEHTTP ("applehttp"),
    AVI ("avi"),
    BMP ("bmp"),
    COPY ("copy"),
    FLV ("flv"),
    HLS ("hls"),
    ISMA ("isma"),
    ISMV ("ismv"),
    JPG ("jpg"),
    M2TS ("m2ts"),
    M4V ("m4v"),
    MKV ("mkv"),
    MOV ("mov"),
    MP3 ("mp3"),
    MP4 ("mp4"),
    MPEG ("mpeg"),
    MPEGTS ("mpegts"),
    MXF ("mxf"),
    OGG ("ogg"),
    OGV ("ogv"),
    PDF ("pdf"),
    PNG ("png"),
    SWF ("swf"),
    WAV ("wav"),
    WEBM ("webm"),
    WMA ("wma"),
    WMV ("wmv"),
    WVM ("wvm");

    public String hashCode;

    KalturaContainerFormat(String hashCode) {
        this.hashCode = hashCode;
    }

    public String getHashCode() {
        return this.hashCode;
    }

    public void setHashCode(String hashCode) {
        this.hashCode = hashCode;
    }

    public static KalturaContainerFormat get(String hashCode) {
        if (hashCode.equals("3gp"))
        {
           return _3GP;
        }
        else 
        if (hashCode.equals("applehttp"))
        {
           return APPLEHTTP;
        }
        else 
        if (hashCode.equals("avi"))
        {
           return AVI;
        }
        else 
        if (hashCode.equals("bmp"))
        {
           return BMP;
        }
        else 
        if (hashCode.equals("copy"))
        {
           return COPY;
        }
        else 
        if (hashCode.equals("flv"))
        {
           return FLV;
        }
        else 
        if (hashCode.equals("hls"))
        {
           return HLS;
        }
        else 
        if (hashCode.equals("isma"))
        {
           return ISMA;
        }
        else 
        if (hashCode.equals("ismv"))
        {
           return ISMV;
        }
        else 
        if (hashCode.equals("jpg"))
        {
           return JPG;
        }
        else 
        if (hashCode.equals("m2ts"))
        {
           return M2TS;
        }
        else 
        if (hashCode.equals("m4v"))
        {
           return M4V;
        }
        else 
        if (hashCode.equals("mkv"))
        {
           return MKV;
        }
        else 
        if (hashCode.equals("mov"))
        {
           return MOV;
        }
        else 
        if (hashCode.equals("mp3"))
        {
           return MP3;
        }
        else 
        if (hashCode.equals("mp4"))
        {
           return MP4;
        }
        else 
        if (hashCode.equals("mpeg"))
        {
           return MPEG;
        }
        else 
        if (hashCode.equals("mpegts"))
        {
           return MPEGTS;
        }
        else 
        if (hashCode.equals("mxf"))
        {
           return MXF;
        }
        else 
        if (hashCode.equals("ogg"))
        {
           return OGG;
        }
        else 
        if (hashCode.equals("ogv"))
        {
           return OGV;
        }
        else 
        if (hashCode.equals("pdf"))
        {
           return PDF;
        }
        else 
        if (hashCode.equals("png"))
        {
           return PNG;
        }
        else 
        if (hashCode.equals("swf"))
        {
           return SWF;
        }
        else 
        if (hashCode.equals("wav"))
        {
           return WAV;
        }
        else 
        if (hashCode.equals("webm"))
        {
           return WEBM;
        }
        else 
        if (hashCode.equals("wma"))
        {
           return WMA;
        }
        else 
        if (hashCode.equals("wmv"))
        {
           return WMV;
        }
        else 
        if (hashCode.equals("wvm"))
        {
           return WVM;
        }
        else 
        {
           return _3GP;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy