com.kii.sdk.photocolle
Class ContentBodyInfo

java.lang.Object
  extended by com.kii.sdk.photocolle.ContentBodyInfo
All Implemented Interfaces:
DTO

public class ContentBodyInfo
extends Object
implements DTO

Content body information received from server. ContentBodyInfo has InputStream as its field. The InputStream must be closed by application. even if application does not use the InputStream.


Method Summary
 MimeType getContentType()
          Get content type as MIME type.
 InputStream getInputStream()
          Get InputStream object which contains body data.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getContentType

public MimeType getContentType()
Get content type as MIME type.

Returns:
MIME type of this content.

getInputStream

public InputStream getInputStream()
Get InputStream object which contains body data. InputStream must be closed by application.

Returns:
body data.