public static class

ParcelFileDescriptor.AutoCloseInputStream

extends FileInputStream
java.lang.Object
   ↳ java.io.InputStream
     ↳ java.io.FileInputStream
       ↳ android.os.ParcelFileDescriptor.AutoCloseInputStream
Known Direct Subclasses

Class Overview

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

Summary

Public Constructors
ParcelFileDescriptor.AutoCloseInputStream(ParcelFileDescriptor fd)
Public Methods
void close()
Closes this stream.
[Expand]
Inherited Methods
From class java.io.FileInputStream
From class java.io.InputStream
From class java.lang.Object
From interface java.io.Closeable

Public Constructors

public ParcelFileDescriptor.AutoCloseInputStream (ParcelFileDescriptor fd)

Since: API Level 1

Public Methods

public void close ()

Since: API Level 1

Closes this stream.

Throws
IOException