Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.content.source
Class BufferSourceFactory

java.lang.Object
  extended by oracle.irm.engine.content.source.BufferSourceFactory


public final class BufferSourceFactory
extends Object

Buffer Source factory. This class provides methods for creating new instances of BufferSource objects.


Method Summary
static BufferSource createBufferSource(byte[] buffer, String mimeType)
          Create a buffer source.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Method Detail

createBufferSource

public static BufferSource createBufferSource(byte[] buffer,
                                              String mimeType)
                                       throws UnsupportedContentTypeException
Create a buffer source.
Parameters:
buffer - the data buffer.
mimeType - the unsealed or sealed MIME type of the data provided in the buffer. The data is assumed to be unsealed data.
Returns:
a new Buffer Source instance.
Throws:
UnsupportedContentTypeException - unsupported MIME type.

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.