package com.creatubbles.api;

/**
 * Created by Janek on 08.02.2016.
 */
public enum ContentType {

    URL_ENCODED("application/x-www-form-urlencoded;charset=UTF-8"), VND_JSON("application/vnd" +
            ".api+json"), JSON("application/json"), PNG("png"), JPG("jpg"), JPEG
            ("jpeg"), H264("h264"), MPEG4("mpeg4"), WMV("wmv"), WEBM
            ("webm"), FLV("flv"), OGG("ogg"), OGV("ogv"), MP4
            ("mp4"), M4V("m4v"), F4V("f4v"), MOV("mov"), ZIP("zip");
    String res;

    ContentType(String res) {
        this.res = res;
    }

    public String getRes() {
        return res;
    }

}



@@ -160,16 +160,20 @@
 UTF-8%22),
+%0A   
  VND_JSO
@@ -194,25 +194,8 @@
 /vnd
-%22 +%0A            %22
 .api
@@ -202,16 +202,20 @@
 +json%22),
+%0A   
  JSON(%22a
@@ -232,16 +232,20 @@
 /json%22),
+%0A   
  PNG(%22pn
@@ -248,16 +248,20 @@
 (%22png%22),
+%0A   
  JPG(%22jp
@@ -268,26 +268,17 @@
 g%22),
+%0A   
  JPEG
-%0A            
 (%22jp
@@ -282,16 +282,20 @@
 %22jpeg%22),
+%0A   
  H264(%22h
@@ -300,16 +300,20 @@
 %22h264%22),
+%0A   
  MPEG4(%22
@@ -320,16 +320,20 @@
 mpeg4%22),
+%0A   
  WMV(%22wm
@@ -340,26 +340,17 @@
 v%22),
+%0A   
  WEBM
-%0A            
 (%22we
@@ -354,16 +354,20 @@
 %22webm%22),
+%0A   
  FLV(%22fl
@@ -370,16 +370,20 @@
 (%22flv%22),
+%0A   
  OGG(%22og
@@ -386,16 +386,20 @@
 (%22ogg%22),
+%0A   
  OGV(%22og
@@ -406,33 +406,24 @@
 v%22),
- MP4
 %0A    
-        
+MP4
 (%22mp4%22),
  M4V
@@ -418,16 +418,20 @@
 (%22mp4%22),
+%0A   
  M4V(%22m4
@@ -434,16 +434,20 @@
 (%22m4v%22),
+%0A   
  F4V(%22f4
@@ -450,16 +450,20 @@
 (%22f4v%22),
+%0A   
  MOV(%22mo
@@ -466,16 +466,20 @@
 (%22mov%22),
+%0A   
  ZIP(%22zi
@@ -481,17 +481,34 @@
 P(%22zip%22)
-;
+,%0A    GIF(%22gif%22);%0A
 %0A    Str

Add GIF ContentType