test_class.declarator: TEST_FILE = "CHANGELOG.md"
test_class.modifier: private static final
test_class.original_string: private static final String TEST_FILE = "CHANGELOG.md";
test_class.type: String
test_class.var_name: TEST_FILE
test_class.file: ch-commons-util/src/test/java/com/cloudhopper/commons/util/CompressionUtilTest.java
test_class.identifier: CompressionUtilTest
test_case.body: @Test
      public void isAlgorithmSupported() throws Exception {
          Assert.assertEquals(true, CompressionUtil.isAlgorithmSupported("gzip"));
          Assert.assertEquals(true, CompressionUtil.isAlgorithmSupported("zip"));
          Assert.assertEquals(false, CompressionUtil.isAlgorithmSupported("gzip2"));
          //Assert.assertEquals(true, CompressionUtil.isAlgorithmSupported("lzma"));
      }
test_case.class_method_signature: CompressionUtilTest.isAlgorithmSupported()
test_case.full_signature: @Test public void isAlgorithmSupported()
test_case.identifier: isAlgorithmSupported
test_case.invocations: assertEquals isAlgorithmSupported assertEquals isAlgorithmSupported assertEquals isAlgorithmSupported
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void isAlgorithmSupported()
focal_class.declarator: logger = LoggerFactory.getLogger(CompressionUtil.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger logger = LoggerFactory.getLogger(CompressionUtil.class);
focal_class.type: Logger
focal_class.var_name: logger
focal_class.file: ch-commons-util/src/main/java/com/cloudhopper/commons/util/CompressionUtil.java
focal_class.identifier: CompressionUtil
focal_class.class_method_signature: CompressionUtil.isAlgorithmSupported(String algorithm)
focal_class.full_signature: public static boolean isAlgorithmSupported(String algorithm)
focal_class.identifier: isAlgorithmSupported
focal_class.modifiers: public static
focal_class.parameters: (String algorithm)
focal_class.return: boolean
focal_class.signature: boolean isAlgorithmSupported(String algorithm)
focal_class.class_method_signature: CompressionUtil.isFileExtensionSupported(String fileExt)
focal_class.full_signature: public static boolean isFileExtensionSupported(String fileExt)
focal_class.identifier: isFileExtensionSupported
focal_class.modifiers: public static
focal_class.parameters: (String fileExt)
focal_class.return: boolean
focal_class.signature: boolean isFileExtensionSupported(String fileExt)
focal_class.class_method_signature: CompressionUtil.compress(File sourceFile, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.full_signature: public static File compress(File sourceFile, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.identifier: compress
focal_class.modifiers: public static
focal_class.parameters: (File sourceFile, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.return: File
focal_class.signature: File compress(File sourceFile, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.class_method_signature: CompressionUtil.compress(File sourceFile, File targetDir, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.full_signature: public static File compress(File sourceFile, File targetDir, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.identifier: compress
focal_class.modifiers: public static
focal_class.parameters: (File sourceFile, File targetDir, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.return: File
focal_class.signature: File compress(File sourceFile, File targetDir, String algorithm, boolean deleteSourceFileAfterCompressed)
focal_class.class_method_signature: CompressionUtil.uncompress(File sourceFile, boolean deleteSourceFileAfterUncompressed)
focal_class.full_signature: public static File uncompress(File sourceFile, boolean deleteSourceFileAfterUncompressed)
focal_class.identifier: uncompress
focal_class.modifiers: public static
focal_class.parameters: (File sourceFile, boolean deleteSourceFileAfterUncompressed)
focal_class.return: File
focal_class.signature: File uncompress(File sourceFile, boolean deleteSourceFileAfterUncompressed)
focal_class.class_method_signature: CompressionUtil.uncompress(File sourceFile, File targetDir, boolean deleteSourceFileAfterUncompressed)
focal_class.full_signature: public static File uncompress(File sourceFile, File targetDir, boolean deleteSourceFileAfterUncompressed)
focal_class.identifier: uncompress
focal_class.modifiers: public static
focal_class.parameters: (File sourceFile, File targetDir, boolean deleteSourceFileAfterUncompressed)
focal_class.return: File
focal_class.signature: File uncompress(File sourceFile, File targetDir, boolean deleteSourceFileAfterUncompressed)
focal_class.class_method_signature: CompressionUtil.compress(Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterCompressed)
focal_class.full_signature: private static void compress(Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterCompressed)
focal_class.identifier: compress
focal_class.modifiers: private static
focal_class.parameters: (Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterCompressed)
focal_class.return: void
focal_class.signature: void compress(Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterCompressed)
focal_class.class_method_signature: CompressionUtil.uncompress(Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterUncompressed)
focal_class.full_signature: private static void uncompress(Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterUncompressed)
focal_class.identifier: uncompress
focal_class.modifiers: private static
focal_class.parameters: (Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterUncompressed)
focal_class.return: void
focal_class.signature: void uncompress(Algorithm a, File sourceFile, File targetFile, boolean deleteSourceFileAfterUncompressed)
focal_class.class_method_signature: CompressionUtil.uncompress(Algorithm a, InputStream srcIn, OutputStream destOut)
focal_class.full_signature: private static void uncompress(Algorithm a, InputStream srcIn, OutputStream destOut)
focal_class.identifier: uncompress
focal_class.modifiers: private static
focal_class.parameters: (Algorithm a, InputStream srcIn, OutputStream destOut)
focal_class.return: void
focal_class.signature: void uncompress(Algorithm a, InputStream srcIn, OutputStream destOut)
focal_method.body: public static boolean isAlgorithmSupported(String algorithm) {
          return (Algorithm.findByName(algorithm) != null);
      }
focal_method.class_method_signature: CompressionUtil.isAlgorithmSupported(String algorithm)
focal_method.full_signature: public static boolean isAlgorithmSupported(String algorithm)
focal_method.identifier: isAlgorithmSupported
focal_method.invocations: findByName
focal_method.modifiers: public static
focal_method.parameters: (String algorithm)
focal_method.return: boolean
focal_method.signature: boolean isAlgorithmSupported(String algorithm)