android.content.res
Class AssetFileDescriptor.AutoCloseOutputStream

java.lang.Object
  extended by java.io.OutputStream
      extended by java.io.FileOutputStream
          extended by android.os.ParcelFileDescriptor.AutoCloseOutputStream
              extended by android.content.res.AssetFileDescriptor.AutoCloseOutputStream
All Implemented Interfaces:
Closeable, Flushable
Enclosing class:
AssetFileDescriptor

public static class AssetFileDescriptor.AutoCloseOutputStream
extends ParcelFileDescriptor.AutoCloseOutputStream


Constructor Summary
AssetFileDescriptor.AutoCloseOutputStream(AssetFileDescriptor fd)
           
 
Method Summary
 void write(byte[] buffer)
           
 void write(byte[] buffer, int offset, int count)
           
 void write(int oneByte)
           
 
Methods inherited from class android.os.ParcelFileDescriptor.AutoCloseOutputStream
close
 
Methods inherited from class java.io.FileOutputStream
finalize, getChannel, getFD
 
Methods inherited from class java.io.OutputStream
flush
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssetFileDescriptor.AutoCloseOutputStream

public AssetFileDescriptor.AutoCloseOutputStream(AssetFileDescriptor fd)
                                          throws IOException
Throws:
IOException
Method Detail

write

public void write(byte[] buffer,
                  int offset,
                  int count)
           throws IOException
Overrides:
write in class FileOutputStream
Throws:
IOException

write

public void write(byte[] buffer)
           throws IOException
Overrides:
write in class FileOutputStream
Throws:
IOException

write

public void write(int oneByte)
           throws IOException
Overrides:
write in class FileOutputStream
Throws:
IOException


Copyright © 2008-2012. All Rights Reserved.