加载中...
The Wayback Machine - https://sup1a9wrlpyh5li9ro.vcoronado.top/web/20090213222114/http://developer.android.com:80/reference/android/os/ParcelFileDescriptor.AutoCloseOutputStream.html
public static class

ParcelFileDescriptor.AutoCloseOutputStream

extends FileOutputStream
java.lang.Object
   ↳ java.io.OutputStream
     ↳ java.io.FileOutputStream
       ↳ android.os.ParcelFileDescriptor.AutoCloseOutputStream

Class Overview

An OutputStream 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.AutoCloseOutputStream(ParcelFileDescriptor fd)
Public Methods
void close()
Close the FileOutputStream.
[Expand]
Inherited Methods
From class java.io.FileOutputStream
From class java.io.OutputStream
From class java.lang.Object
From interface java.io.Closeable
From interface java.io.Flushable

Public Constructors

public ParcelFileDescriptor.AutoCloseOutputStream (ParcelFileDescriptor fd)

Public Methods

public void close ()

Close the FileOutputStream. This implementation closes the underlying OS resources allocated to represent this stream.

Throws
IOException