|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.io.OutputStream
java.io.FilterOutputStream
org.eclipse.osgi.storagemanager.ManagedOutputStream
public final class ManagedOutputStream
Represents a managed output stream for target managed by a storage manager.
StorageManager.getOutputStream(String)
,
Clients may not extend this class.
Field Summary |
---|
Fields inherited from class java.io.FilterOutputStream |
---|
out |
Method Summary | |
---|---|
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)
|
Methods inherited from class java.io.FilterOutputStream |
---|
flush, write, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void close() throws 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 Closeable
close
in class FilterOutputStream
IOException
FilterOutputStream.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 IOException
write
in class FilterOutputStream
IOException
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.