Back to project page uppidy-android-sdk.
The source code is released under:
Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ TERMS AND CONDITIONS FOR USE, REPRODUCT...
If you think the Android project uppidy-android-sdk listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.uppidy.android.sdk.api; /*w w w. ja v a 2s . com*/ import org.codehaus.jackson.annotate.JsonIgnore; import org.springframework.core.io.InputStreamSource; /** * Model class representing a body part of a message, i.e. picture, video, audio * or other text or binary attachment. * * Part of the Uppidy Web Services API * * @author arudnev@uppidy.com */ public class ApiBodyPart extends ApiEntity { private InputStreamSource data; private String contentType; private String fileName; public String getContentType() { return contentType; } public void setContentType(String contentType) { this.contentType = contentType; } public String getFileName() { return fileName; } public void setFileName(String fileName) { this.fileName = fileName; } @JsonIgnore public InputStreamSource getData() { return data; } @JsonIgnore public void setData(InputStreamSource data) { this.data = data; } }