to top
Android APIs
public static class


extends FileInputStream
       ↳ android.os.ParcelFileDescriptor.AutoCloseInputStream
Known Direct Subclasses

Class Overview

An InputStream you can create on a ParcelFileDescriptor, which will take care of calling ParcelFileDescriptor.close() for you when the stream is closed.


Public Constructors
ParcelFileDescriptor.AutoCloseInputStream(ParcelFileDescriptor pfd)
Public Methods
void close()
Closes this stream.
Inherited Methods
From class
From class
From class java.lang.Object
From interface
From interface java.lang.AutoCloseable

Public Constructors

public ParcelFileDescriptor.AutoCloseInputStream (ParcelFileDescriptor pfd)

Added in API level 1

Public Methods

public void close ()

Added in API level 1

Closes this stream. Concrete implementations of this class should free any resources during close. This implementation does nothing.