public final class ManagedOutputStream
extends java.io.FilterOutputStream
StorageManager.getOutputStream(String),
Clients may not extend this class.
| Modifier and Type | Method and Description |
|---|---|
void |
abort()
Instructs this output stream to be closed and the contents discarded.
|
void |
close()
Instructs this output stream to be closed and storage manager to
be updated as appropriate.
|
void |
write(byte[] bytes,
int off,
int len) |
public void close()
throws java.io.IOException
StorageManager.getOutputStreamSet(String[]) then
the storage manager will only be updated with the new content after all
of the managed output streams in the set are closed successfully.close in interface java.io.Closeableclose in interface java.lang.AutoCloseableclose in class java.io.FilterOutputStreamjava.io.IOExceptionFilterOutputStream.close()public void abort()
StorageManager.getOutputStreamSet(String[]) then the new
content of all managed output streams in the set will be discarded.public void write(byte[] bytes,
int off,
int len)
throws java.io.IOException
write in class java.io.FilterOutputStreamjava.io.IOException
Copyright (c) 2000, 2018 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.