Class prominence.io.AltAppendFileOutputStream
All Packages Class Hierarchy This Package Previous Next Index
Class prominence.io.AltAppendFileOutputStream
java.lang.Object
|
+----java.io.OutputStream
|
+----java.io.FileOutputStream
|
+----prominence.io.AltAppendFileOutputStream
- public class AltAppendFileOutputStream
- extends FileOutputStream
A FileOutputStream that appends to an existing file.
- See Also:
- AppendFileOutputStream
-
file
- An internal variable used to seek to the end of the stream.
-
AltAppendFileOutputStream(String)
- Creates a new AltAppendFileOutputStream that appends
to the end of an existing file, or creates a new file if necessary.
file
protected FileInputStream file
- An internal variable used to seek to the end of the stream.
AltAppendFileOutputStream
public AltAppendFileOutputStream(String fileName) throws IOException
- Creates a new AltAppendFileOutputStream that appends
to the end of an existing file, or creates a new file if necessary.
- Parameters:
- fileName - The name of the file to open
- Throws: IOException
- Occurs if the file could not be opened.
- Throws: SecurityException
- Occurs if the SecurityManager denies
this operation.
All Packages Class Hierarchy This Package Previous Next Index