Class JsonWriter


  • public class JsonWriter
    extends java.lang.Object
    JSON 형태를 작성하는 객체
    Version:
    1.0
    Author:
    Yeonhee Kim
    • Constructor Summary

      Constructors 
      Constructor Description
      JsonWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String writeMetadataJson​(Metadata metadata, java.util.List<Speaker> speakerList, java.util.List<Utterance> utteranceList, java.util.List<EojeolList> eojeolListList)
      Metadata와 관련한 데이터를 받고 JSON 형태로 작성하여 반환함
      • Methods inherited from class java.lang.Object

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

      • JsonWriter

        public JsonWriter()
    • Method Detail

      • writeMetadataJson

        public java.lang.String writeMetadataJson​(Metadata metadata,
                                                  java.util.List<Speaker> speakerList,
                                                  java.util.List<Utterance> utteranceList,
                                                  java.util.List<EojeolList> eojeolListList)
        Metadata와 관련한 데이터를 받고 JSON 형태로 작성하여 반환함
        Parameters:
        metadata - Metadata 객체
        speakerList - Metadata와 관련한 Speaker 리스트
        utteranceList - Metadata와 관련한 Utterance 리스트
        eojeolListList - Metadata와 관련한 EojeolList 리스트
        Returns:
        Metadata와 관련한 데이터에서 추출한 JSON 형태 문자열