EnhancedObjectContent
.@Deprecated
public class ObjectContent
extends java.lang.Object
Constructor and Description |
---|
ObjectContent()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
getContent()
Deprecated.
Get the content/data in the form of an
InputStream . |
java.lang.String |
getMimeType()
Deprecated.
Get the MIME type of this content object.
|
java.util.Date |
getModifiedDate()
Deprecated.
|
java.lang.String |
getName()
Deprecated.
Get the name, usually a filename, of this content object.
|
long |
getSize()
Deprecated.
Get the size of the content, in bytes, of this object
|
void |
setContent(java.io.InputStream content)
Deprecated.
|
void |
setMimeType(java.lang.String mimeType)
Deprecated.
|
void |
setModifiedDate(java.util.Date modifiedDate)
Deprecated.
|
void |
setName(java.lang.String name)
Deprecated.
|
void |
setSize(long size)
Deprecated.
|
public java.io.InputStream getContent()
InputStream
.public void setContent(java.io.InputStream content)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
public java.lang.String getName()
public void setName(java.lang.String name)
public long getSize()
public void setSize(long size)
public java.util.Date getModifiedDate()
public void setModifiedDate(java.util.Date modifiedDate)