public interface RMContentElement
ContentItem
.
Being a dependent type of ContentItem
, a RMContentElement
is
only be retrieved as a member of the collection
returned by the ContentItem.getContentElements
method.
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBinaryContentRetrievalName()
Typically provides a file system path string representing a binary content element's
original location, if available.
|
java.lang.Double |
getBinaryContentSize()
Returns the size of binary content data, in bytes, if available.
|
java.io.InputStream |
getBinaryContentStream()
Provides an
InputStream to the binary data for a binary content element. |
java.lang.String |
getContentType()
Provides an indicator of the type of content that this content element
represents.
|
java.lang.String |
getReferenceContentLocation()
Provides a location reference to some content (typically a URL string).
|
boolean |
isAContentReference()
Indicates whether this content element represents a reference to some
external content (for example, URL) or actual content binary data.
|
boolean isAContentReference()
true
if this content element represents a content reference,
false
if this content element represents content binary data.java.lang.String getContentType()
String
content type indicator.java.lang.String getReferenceContentLocation()
String
value or null
if not applicable to this content element.java.lang.Double getBinaryContentSize()
Double
value. This entry can be null
if either the size data is
not available or this content element represents a content reference.java.lang.String getBinaryContentRetrievalName()
String
. This entry can be null
.java.io.InputStream getBinaryContentStream()
InputStream
to the binary data for a binary content element.
Important: It is the responsibility of the caller of this method to close
the stream once all read operations have finished.InputStream
instance. This entry can be null
.© Copyright IBM Corp. 2010, 2013. All Rights Reserved.