Class ResultAttachment

    • Field Detail

      • DEFAULT_ATTACHMENT_TYPE

        public static java.lang.String DEFAULT_ATTACHMENT_TYPE
      • stream

        public java.lang.String stream
      • fileName

        public java.lang.String fileName
      • comment

        public java.lang.String comment
      • attachmentType

        public java.lang.String attachmentType
    • Constructor Detail

      • ResultAttachment

        public ResultAttachment()
      • ResultAttachment

        public ResultAttachment​(java.lang.String fileName,
                                java.lang.String comment)
    • Method Detail

      • setDataFromFile

        public void setDataFromFile​(java.io.File file)
                             throws java.lang.Exception
        Throws:
        java.lang.Exception
      • setDataFromString

        public void setDataFromString​(java.lang.String text)