test_class.file: dependencies/i18n/src/test/java/org/apache/abdera/i18n/text/io/CompressionUtilTest.java
test_class.identifier: CompressionUtilTest
test_case.body: @Test
      public void getCodecWithTurkishLocale (){
          Locale.setDefault(new Locale("tr", "", ""));
          CompressionCodec codec = CompressionUtil.getCodec("gzip");
          assertEquals("GZIP", codec.toString());
      }
test_case.class_method_signature: CompressionUtilTest.getCodecWithTurkishLocale()
test_case.full_signature: @Test public void getCodecWithTurkishLocale()
test_case.identifier: getCodecWithTurkishLocale
test_case.invocations: setDefault getCodec assertEquals toString
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void getCodecWithTurkishLocale()
focal_class.file: dependencies/i18n/src/main/java/org/apache/abdera/i18n/text/io/CompressionUtil.java
focal_class.identifier: CompressionUtil
focal_class.class_method_signature: CompressionUtil.getCodec(String name)
focal_class.full_signature: public static CompressionCodec getCodec(String name)
focal_class.identifier: getCodec
focal_class.modifiers: public static
focal_class.parameters: (String name)
focal_class.return: CompressionCodec
focal_class.signature: CompressionCodec getCodec(String name)
focal_class.class_method_signature: CompressionUtil.getEncodedOutputStream(OutputStream out, CompressionCodec encoding)
focal_class.full_signature: public static OutputStream getEncodedOutputStream(OutputStream out, CompressionCodec encoding)
focal_class.identifier: getEncodedOutputStream
focal_class.modifiers: public static
focal_class.parameters: (OutputStream out, CompressionCodec encoding)
focal_class.return: OutputStream
focal_class.signature: OutputStream getEncodedOutputStream(OutputStream out, CompressionCodec encoding)
focal_class.class_method_signature: CompressionUtil.getEncodedOutputStream(OutputStream out, CompressionCodec... encodings)
focal_class.full_signature: public static OutputStream getEncodedOutputStream(OutputStream out, CompressionCodec... encodings)
focal_class.identifier: getEncodedOutputStream
focal_class.modifiers: public static
focal_class.parameters: (OutputStream out, CompressionCodec... encodings)
focal_class.return: OutputStream
focal_class.signature: OutputStream getEncodedOutputStream(OutputStream out, CompressionCodec... encodings)
focal_class.class_method_signature: CompressionUtil.getDecodingInputStream(InputStream in, CompressionCodec encoding)
focal_class.full_signature: public static InputStream getDecodingInputStream(InputStream in, CompressionCodec encoding)
focal_class.identifier: getDecodingInputStream
focal_class.modifiers: public static
focal_class.parameters: (InputStream in, CompressionCodec encoding)
focal_class.return: InputStream
focal_class.signature: InputStream getDecodingInputStream(InputStream in, CompressionCodec encoding)
focal_class.class_method_signature: CompressionUtil.getDecodingInputStream(InputStream in, CompressionCodec... encoding)
focal_class.full_signature: public static InputStream getDecodingInputStream(InputStream in, CompressionCodec... encoding)
focal_class.identifier: getDecodingInputStream
focal_class.modifiers: public static
focal_class.parameters: (InputStream in, CompressionCodec... encoding)
focal_class.return: InputStream
focal_class.signature: InputStream getDecodingInputStream(InputStream in, CompressionCodec... encoding)
focal_class.class_method_signature: CompressionUtil.getDecodingInputStream(InputStream in, String ce)
focal_class.full_signature: public static InputStream getDecodingInputStream(InputStream in, String ce)
focal_class.identifier: getDecodingInputStream
focal_class.modifiers: public static
focal_class.parameters: (InputStream in, String ce)
focal_class.return: InputStream
focal_class.signature: InputStream getDecodingInputStream(InputStream in, String ce)
focal_class.class_method_signature: CompressionUtil.unquote(String s)
focal_class.full_signature: private static String unquote(String s)
focal_class.identifier: unquote
focal_class.modifiers: private static
focal_class.parameters: (String s)
focal_class.return: String
focal_class.signature: String unquote(String s)
focal_class.class_method_signature: CompressionUtil.splitAndTrim(String value, String delim, boolean unquote)
focal_class.full_signature: public static String[] splitAndTrim(String value, String delim, boolean unquote)
focal_class.identifier: splitAndTrim
focal_class.modifiers: public static
focal_class.parameters: (String value, String delim, boolean unquote)
focal_class.return: String[]
focal_class.signature: String[] splitAndTrim(String value, String delim, boolean unquote)
focal_method.body: public static CompressionCodec getCodec(String name) {
          CompressionCodec codec = null;
          if (name == null)
              return null;
          try {
              codec = CompressionCodec.valueOf(name.toUpperCase(Locale.ENGLISH).trim());
          } catch (Exception e) {
          }
          return codec;
      }
focal_method.class_method_signature: CompressionUtil.getCodec(String name)
focal_method.full_signature: public static CompressionCodec getCodec(String name)
focal_method.identifier: getCodec
focal_method.invocations: valueOf trim toUpperCase
focal_method.modifiers: public static
focal_method.parameters: (String name)
focal_method.return: CompressionCodec
focal_method.signature: CompressionCodec getCodec(String name)