|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.io.OutputStream
ewe.io.FileOutputStream
This is a write only output stream to a file.
| Field Summary |
| Fields inherited from class ewe.io.OutputStream |
closed, out, rs, stream |
| Constructor Summary | |
FileOutputStream(File file)
Create the FileOutputStream and overwrite any existing file. |
|
FileOutputStream(File file,
boolean append)
Create the FileOutputStream with the option to append to an existing file. |
|
FileOutputStream(String name)
Create the FileOutputStream and overwrite any existing file. |
|
FileOutputStream(String name,
boolean append)
Create the FileOutputStream and overwrite any existing file. |
|
| Methods inherited from class ewe.io.OutputStream |
close, flush, getFastStream, getName, shutdown, toStream, toWritableStream, write, write, write, writeSingleByteToMultiByteWrite |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, toString |
| Constructor Detail |
public FileOutputStream(File file)
throws IOException
file - The file to open.
IOException - if the file could not be created or written to.
public FileOutputStream(File file,
boolean append)
throws IOException
file - The file to open/append.append - specifies if the file should be appended.
IOException - if the file could not be created or written to.
public FileOutputStream(String name,
boolean append)
throws IOException
name - the name of the file.append - specifies if the file should be appended.
IOException - if the file could not be created or written to.
public FileOutputStream(String name)
throws IOException
name - the name of the file.
IOException - if the file could not be created or written to.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||