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, writeprivate 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.Closeableclose in interface java.lang.AutoCloseableclose in class MonitorOutputStreamFileSystemExceptionprotected void onClose()
throws java.io.IOException
onClose in class MonitorOutputStreamjava.io.IOException - if an error occurs.