ProtectedFileOutputStream class

A class that represents a stream that can write a protected file.


public abstract class ProtectedFileOutputStream extends OutputStream

ProtectedFileOutputStream extends Android's base class. For information on base class methods see, OutputStream


Name Description
create asynchronous
Asynchronously creates a new ProtectedFileOutputStream.
create asynchronous
Synchronously creates a new ProtectedFileOutputStream.
Returns the protection policy associated with the stream.

Defined in

Supported Platforms

Minimum supported OS version
Android 4.0.3 (API level 15)



The ProtectedFileOutputStream class inherits from the OutputStream 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.