|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
Manipulation of the actual content of a Content smart object
| Fields inherited from interface com.sas.services.information.metadata.MetadataInterface |
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA |
| Method Summary | |
byte[] |
getContentAsBytes()
Get the content as a byte array |
InputStream |
getContentAsStream()
Get the content as an input stream |
String |
getContentAsString()
Get the content as a String |
String |
getContentType()
Gets the content type for the object. |
String |
getProperty(String propertyName)
Deprecated. As of 9.1.3SP4, replaced by MetadataInterface.getAttribute(String) |
void |
setContent(String content)
Set the content from a String |
void |
setContentFromBytes(byte[] content)
Set the content from a byte array |
void |
setContentFromStream(InputStream content)
Set the content from a stream.For remote deployment the InputStream should be wrapped in an InputStreamAdapter |
void |
setContentType(String contentType)
Set the content type for the object. |
void |
setProperty(String propertyName,
String propertyValue)
Deprecated. As of 9.1.3SP4, replaced by MetadataInterface.setAttribute(String, String) |
| Method Detail |
public String getContentType()
throws RemoteException
public InputStream getContentAsStream()
throws RemoteException
public byte[] getContentAsBytes()
throws RemoteException
public String getContentAsString()
throws RemoteException
public void setContentType(String contentType)
throws RemoteException
public void setContent(String content)
throws RemoteException
public void setContentFromStream(InputStream content)
throws RemoteException
InputStreamAdapter
public void setContentFromBytes(byte[] content)
throws RemoteException
public void setProperty(String propertyName,
String propertyValue)
throws RemoteException
MetadataInterface.setAttribute(String, String)
propertyName - The name, including namespace, of the property to be setpropertyValue - The value of the property to be set
public String getProperty(String propertyName)
throws RemoteException
MetadataInterface.getAttribute(String)
propertyName - The name, including namespace, of the property to get
|
| Services |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||