Package org.apache.axiom.blob
Class MemoryBlobOutputStream
java.lang.Object
java.io.OutputStream
org.apache.axiom.blob.MemoryBlobOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable,org.apache.axiom.ext.io.ReadFromSupport
public abstract class MemoryBlobOutputStream
extends OutputStream
implements org.apache.axiom.ext.io.ReadFromSupport
Output stream that doesn't throw
IOException and that implements ReadFromSupport.-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.io.OutputStream
nullOutputStreamMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axiom.ext.io.ReadFromSupport
readFrom
-
Constructor Details
-
MemoryBlobOutputStream
public MemoryBlobOutputStream()
-
-
Method Details
-
write
public abstract void write(int b) - Specified by:
writein classOutputStream
-
write
public abstract void write(byte[] b) - Overrides:
writein classOutputStream
-
write
public abstract void write(byte[] b, int off, int len) - Overrides:
writein classOutputStream
-
flush
public final void flush()- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream
-
close
public abstract void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Overrides:
closein classOutputStream
-