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 Methods |
|
void
|
close()
Close the FileOutputStream.
|
|
[Expand]
Inherited Methods |
From class java.io.FileOutputStream
|
void
|
close()
Close the FileOutputStream.
|
|
void
|
finalize()
Frees any resources allocated to represent this FileOutputStream before
it is garbage collected.
|
|
FileChannel
|
getChannel()
Returns the FileChannel equivalent to this output stream.
|
|
final
FileDescriptor
|
getFD()
Returns a FileDescriptor which represents the lowest level representation
of a OS stream resource.
|
|
void
|
write(byte[] buffer)
Writes the entire contents of the byte array buffer to
this FileOutputStream.
|
|
void
|
write(int oneByte)
Writes the specified byte oneByte to this
FileOutputStream.
|
|
void
|
write(byte[] buffer, int offset, int count)
Writes count bytes from the byte array
buffer starting at offset to this
FileOutputStream.
|
|
From class java.io.OutputStream
|
void
|
close()
Close this OutputStream.
|
|
void
|
flush()
Flush this OutputStream.
|
|
void
|
write(byte[] buffer)
Writes the entire contents of the byte array buffer to
this OutputStream.
|
|
abstract
void
|
write(int oneByte)
Writes the specified byte oneByte to this OutputStream.
|
|
void
|
write(byte[] buffer, int offset, int count)
Writes count bytes from the byte array
buffer starting at offset to this
OutputStream.
|
|
From class java.lang.Object
|
Object
|
clone()
Returns a new instance of the same class as the receiver, whose slots
have been filled in with the values in the slots of the receiver.
|
|
boolean
|
equals(Object o)
Compares the argument to the receiver, and returns true if they represent
the same object using a class specific comparison.
|
|
void
|
finalize()
Called by the virtual machine when there are no longer any (non-weak)
references to the receiver.
|
|
final
Class<? extends Object>
|
getClass()
Returns the unique instance of java.lang.Class which represents the class
of the receiver.
|
|
int
|
hashCode()
Returns an integer hash code for the receiver.
|
|
final
void
|
notify()
Causes one thread which is wait ing on the receiver to be
made ready to run.
|
|
final
void
|
notifyAll()
Causes all threads which are wait ing on the receiver to
be made ready to run.
|
|
String
|
toString()
Returns a string containing a concise, human-readable description of the
receiver.
|
|
final
void
|
wait(long time, int frac)
Causes the thread which sent this message to be made not ready to run
either pending some change in the receiver (as indicated by
notify or notifyAll) or the expiration of
the timeout.
|
|
final
void
|
wait(long time)
Causes the thread which sent this message to be made not ready to run
either pending some change in the receiver (as indicated by
notify or notifyAll) or the expiration of
the timeout.
|
|
final
void
|
wait()
Causes the thread which sent this message to be made not ready to run
pending some change in the receiver (as indicated by notify
or notifyAll).
|
|
From interface java.io.Closeable
|
abstract
void
|
close()
Close the object and release any system resources it holds.
|
|
From interface java.io.Flushable
|
abstract
void
|
flush()
Flushes the object by writing out any buffered data to the underlying
output.
|
|
Public Constructors
Public Methods
public
void
close
()
Close the FileOutputStream. This implementation closes the underlying OS
resources allocated to represent this stream.