Class XlsxReport


  • @Service
    @PropertySource("classpath:properties/report.properties")
    public class XlsxReport
    extends java.lang.Object
    Xlsx 타입으로 리스트 파일 생성
    Version:
    1.0
    Author:
    Woo Young, Yeonhee Kim
    • Constructor Summary

      Constructors 
      Constructor Description
      XlsxReport()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeXlsxMetadata​(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.util.List<Metadata> list, java.lang.String flag, java.lang.String title)
      xlsx 한국어 강의 목록 리스트 작성
      void writeXlsxUtterance​(javax.servlet.http.HttpServletResponse response, java.lang.String path, java.util.List<Utterance> list, Metadata metadata, java.lang.String flag)
      xlsx utterance 리스트 작성
      • Methods inherited from class java.lang.Object

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

      • XlsxReport

        public XlsxReport()
    • Method Detail

      • writeXlsxMetadata

        public void writeXlsxMetadata​(javax.servlet.http.HttpServletResponse response,
                                      java.lang.String path,
                                      java.util.List<Metadata> list,
                                      java.lang.String flag,
                                      java.lang.String title)
                               throws java.lang.Exception
        xlsx 한국어 강의 목록 리스트 작성
        Parameters:
        response - 사용자에게 보내는 응답
        path - 파일 디렉토리
        list - 객체를 담을 리스트
        flag - 해당 요청이 download인지, mail인지, sms인지 결정해주는 변수
        title - 파일 내용의 제목
        Throws:
        java.lang.Exception - 예외처리
      • writeXlsxUtterance

        public void writeXlsxUtterance​(javax.servlet.http.HttpServletResponse response,
                                       java.lang.String path,
                                       java.util.List<Utterance> list,
                                       Metadata metadata,
                                       java.lang.String flag)
                                throws java.lang.Exception
        xlsx utterance 리스트 작성
        Parameters:
        response - 사용자에게 보내는 응답
        path - 파일 디렉토리
        list - 객체를 담을 리스트
        metadata - metadata 테이블 정보
        flag - 해당 요청이 download인지, mail인지, sms인지 결정해주는 변수
        Throws:
        java.lang.Exception - 예외 처리