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
nullOutputStream
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
write
in classOutputStream
-
write
public abstract void write(byte[] b) - Overrides:
write
in classOutputStream
-
write
public abstract void write(byte[] b, int off, int len) - Overrides:
write
in classOutputStream
-
flush
public final void flush()- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
-
close
public abstract void close()- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Overrides:
close
in classOutputStream
-