|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.irm.engine.types.content.source.Source
oracle.irm.engine.types.content.source.BufferSource
public class BufferSource
Buffer Source type. A data buffer source can be used if data has already been read from a stream.
Buffer Source instances can be serialized as an XML document. This XML document can also be used to recreate a Buffer Source object. The following XML document shows an example Buffer Source in XML form.
<?xml version="1.0" encoding="UTF-8"?>
<content:BufferSource xmlns:content="http://xmlns.oracle.com/irm/content">
<buffer>VW5pdCBUZXN0aW5n</buffer>
<mimeType>text/plain</mimeType>
</content:BufferSource>
Constructor Summary | |
---|---|
BufferSource() No argument constructor. |
|
BufferSource(byte[] buffer, String mimeType) Constructor. |
Method Summary | |
---|---|
byte[] |
getBuffer() Data buffer. |
String |
getMimeType() MIME type of the data in the buffer. |
void |
setBuffer(byte[] value) Data buffer. |
void |
setMimeType(String value) MIME type of the data in the buffer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BufferSource()
public BufferSource(byte[] buffer, String mimeType)
Method Detail |
---|
public byte[] getBuffer()
public void setBuffer(byte[] value)
value
- the new value for the property.public String getMimeType()
public void setMimeType(String value)
value
- the new value for the property.
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |