|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BufferSource
A data buffer based source for the sealing process. A data buffer source can be used if data has already been read from a stream.
Instances of Buffer Source objects can be created using the following factory style method(s).
BufferSource object = createBufferSource
(
buffer,
mimeType);
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>
Method Summary | |
---|---|
byte[] |
getBuffer() Data buffer. |
String |
getMimeType() MIME type of the data in the buffer. |
Methods inherited from interface oracle.irm.engine.content.source.Source |
---|
close, getContentType, getInputStream, getSize |
Method Detail |
---|
byte[] getBuffer()
String getMimeType()
|
Oracle® Information Rights Management Server Java API Reference 11g Release 1 (11.1.1) E12907-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |