ProtectedFileInputStream class
Implements a wrapper of the input stream allowing reading of an RMS protected input stream.
Signature
public abstract class ProtectedFileInputStream extends InputStream
ProtectedFileInputStream extends Android's base class. For information on base class methods see, InputStream
Methods
Name | Description |
---|---|
create asynchronous |
Asynchronously creates a ProtectedFileInputStream object from an existing protected file. |
create synchronous |
Synchronously creates a ProtectedFileInputStream object from an existing protected file. |
getOriginalFileExtension |
Gets the original file extension of the file before it was protected |
getUserPolicy |
Returns the protection policy associated with the stream. |
Defined in
ProtectedFileInputStream.java
Supported Platforms
Minimum supported OS version |
Android 4.0.3 (API level 15) |
Package
com.microsoft.rightsmanagement
Remarks
The ProtectedFileInputStream class inherits from the InputStream class. For more information about this class and the members it exposes, see the Android developer documentation.
Thread Safety
Members of this class are not guaranteed to be thread safe.