Class CompressZip


  • public class CompressZip
    extends java.lang.Object
    zip 파일로 압축하는 클래스
    Version:
    1.0
    Author:
    Yeonhee Kim
    • Constructor Summary

      Constructors 
      Constructor Description
      CompressZip()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean compress​(java.lang.String path, java.lang.String outputPath, java.lang.String outputFileName)
      파일의 압축 성공 여부를 반환함
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CompressZip

        public CompressZip()
    • Method Detail

      • compress

        public boolean compress​(java.lang.String path,
                                java.lang.String outputPath,
                                java.lang.String outputFileName)
                         throws java.lang.Throwable
        파일의 압축 성공 여부를 반환함
        Parameters:
        path - 압축할 폴더 경로
        outputPath - 압축파일들이 있는 경로
        outputFileName - 압축파일명
        Returns:
        파일 압축 성공 여부
        Throws:
        java.lang.Throwable - 예외 처리