|
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 |
java.lang.Object
oracle.irm.engine.content.source.StreamSourceFactory
public final class StreamSourceFactory
Stream Source factory. This class provides methods for creating new instances of StreamSource
objects.
Method Summary | |
---|---|
static StreamSource |
createStreamSource(InputStream inputStream, int size, String mimeType) Create a stream source. |
static StreamSource |
createStreamSource(InputStream stream, String mimeType) Create a stream source. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static StreamSource createStreamSource(InputStream stream, String mimeType) throws UnsupportedContentTypeException
stream
- the data stream.mimeType
- the unsealed or sealed MIME type of the data provided in the stream. The stream is assumed to contain unsealed data.UnsupportedContentTypeException
- unsupported MIME type.public static StreamSource createStreamSource(InputStream inputStream, int size, String mimeType) throws UnsupportedContentTypeException
inputStream
- the data stream.size
- the total size of the data on the stream.mimeType
- the sealed or unsealed MIME type for the stream contents.UnsupportedContentTypeException
- unsupported MIME type.
|
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 |