All Packages Class Hierarchy This Package Previous Next Index
Class avd.io.RFileOutputStream
java.lang.Object
|
+----java.io.OutputStream
|
+----avd.io.RFileOutputStream
- public class RFileOutputStream
- extends OutputStream
A class for writing to a file under the directories mounted through a
RFSClient. The public methods of this class behave exactly as
java.io.OutputStream.
-
RFileOutputStream(String, boolean)
- Opens or creates a file under the directories mounted through a
RFS client.
-
close()
-
-
finalize()
-
-
write(byte[])
-
-
write(byte[], int, int)
-
-
write(int)
-
RFileOutputStream
public RFileOutputStream(String filename,
boolean append) throws IOException
- Opens or creates a file under the directories mounted through a
RFS client. If the second parameter is true data is appended to the
file, else data is written from the start.
- Parameters:
- filename - filepath of the filename to be opened or created.
The first filename component of filename should be one of the
registered local mountpoints(lmp)
- append - If true data is appended else writing starts at file offset 0
- See Also:
- mount, RFSClientFactory
write
public void write(int b) throws IOException
- Overrides:
- write in class OutputStream
write
public void write(byte b[]) throws IOException
- Overrides:
- write in class OutputStream
write
public void write(byte b[],
int off,
int len) throws IOException
- Overrides:
- write in class OutputStream
close
public void close() throws IOException
- Overrides:
- close in class OutputStream
finalize
protected void finalize()
- Overrides:
- finalize in class Object
All Packages Class Hierarchy This Package Previous Next Index