|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.adobe.flashaccess.sdk.media.drm.MediaEncrypterFactory
public class MediaEncrypterFactory
Examines an input stream and attempts to determine the file type.
| Method Summary | |
|---|---|
static MediaEncrypter |
getMediaEncrypter(java.io.InputStream mediaContent)
Gets a MediaEncrypter for the media in the input stream. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static MediaEncrypter getMediaEncrypter(java.io.InputStream mediaContent)
throws java.io.IOException,
UnknownMediaException
MediaEncrypter for the media in the input stream.
This method will read from the provided InputStream in order to determine the file type, and then
reset the marked InputStream back to the original read position when finished.
mediaContent - An input stream containing the media content. The InputStream implementation must
support the mark method (for example, mediaContent.markSupported() == true). A BufferedInputStream supports marking.
MediaEncrypter for the media in the input stream.
java.io.IOException - if an error occurs reading the content.
UnknownMediaException - if the file type cannot be determined.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||