Class SimpleRepositoryFileDataDto

  • public class SimpleRepositoryFileDataDto
    extends Object
    This class exists for one purpose: to be able to apply the XmlMimeType annotation.
    • Constructor Detail

      • SimpleRepositoryFileDataDto

        public SimpleRepositoryFileDataDto()
    • Method Detail

      • convert

        public static SimpleRepositoryFileDataDto convert​( simpleData)
        Converts SimpleRepositoryFileData to SimpleRepositoryFileDataDto. Does not use ByteArrayDataSource since that implementation reads the entire stream into a byte array.
      • convert

        public static convert​(SimpleRepositoryFileDataDto simpleJaxWsData)
        Converts SimpleRepositoryFileDataDto to SimpleRepositoryFileData.
      • getEncoding

        public String getEncoding()
      • setEncoding

        public void setEncoding​(String encoding)
      • getMimeType

        public String getMimeType()
      • setMimeType

        public void setMimeType​(String mimeType)