final class DefaultFileContent.FileContentOutputStream extends MonitorOutputStream
Modifier and Type | Field and Description |
---|---|
private FileObject |
file |
Constructor and Description |
---|
FileContentOutputStream(FileObject file,
java.io.OutputStream outstr) |
FileContentOutputStream(FileObject file,
java.io.OutputStream outstr,
int bufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes this output stream.
|
protected void |
onClose()
Called after this stream is closed.
|
assertOpen, flush, write, write, write
private final FileObject file
FileContentOutputStream(FileObject file, java.io.OutputStream outstr)
FileContentOutputStream(FileObject file, java.io.OutputStream outstr, int bufferSize)
public void close() throws FileSystemException
close
in interface java.io.Closeable
close
in interface java.lang.AutoCloseable
close
in class MonitorOutputStream
FileSystemException
protected void onClose() throws java.io.IOException
onClose
in class MonitorOutputStream
java.io.IOException
- if an error occurs.