|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--java.io.OutputStream
|
+--com.dctl.hardware.flash.FlashFileOutputStream
Flash file output stream that allows output operations to take place on a flash file
| Constructor Summary | |
FlashFileOutputStream(FlashFile file)
Create a new Output stream from a file |
|
FlashFileOutputStream(FlashFile file,
boolean append)
Create a new Output stream from a file |
|
FlashFileOutputStream(java.lang.String name)
Create a new Output stream from a file |
|
FlashFileOutputStream(java.lang.String name,
boolean append)
Create a new Output stream from a file |
|
| Method Summary | |
void |
close()
Close the file |
void |
write(byte[] buf,
int offset,
int length)
Write from a buffer to the file |
void |
write(int b)
Write a byte to the file |
| Methods inherited from class java.io.OutputStream |
flush, write |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FlashFileOutputStream(FlashFile file)
throws IOException
file - The flash file
IOException - if there is an error creatOutg the file
public FlashFileOutputStream(java.lang.String name)
throws IOException
name - The name of the file
IOException - if there is an error creatOutg the file
public FlashFileOutputStream(FlashFile file,
boolean append)
throws IOException
file - The flash fileappend - True to append
IOException - if there is an error creatOutg the file
public FlashFileOutputStream(java.lang.String name,
boolean append)
throws IOException
name - The name of the fileappend - True to append
IOException - if there is an error creatOutg the file| Method Detail |
public void close()
close in class OutputStream
public void write(int b)
throws IOException
write in interface Writablewrite in class OutputStreamb - The byte
IOException - if there is an error
public void write(byte[] buf,
int offset,
int length)
throws IOException
write in interface Writablewrite in class OutputStreambuf - The bufferoffset - The offset into the bufferlength - The number of bytes to write
IOException - if there is an error
|
DCT Lightfoot v3 API specification | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||